Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e3f823045c |
+7
-1
@@ -170,7 +170,13 @@ if [ ${#BUILT[@]} -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
read -rp "Publish release ${TAG} to ${FORGE}? [y/N] " confirm
|
if [ -t 0 ]; then
|
||||||
|
read -rp "Publish release ${TAG} to ${FORGE}? [y/N] " confirm
|
||||||
|
else
|
||||||
|
# Non-interactive (piped/scripted) — default to yes
|
||||||
|
confirm="y"
|
||||||
|
echo "Non-interactive mode: auto-publishing release ${TAG} to ${FORGE}"
|
||||||
|
fi
|
||||||
if [[ ! "${confirm}" =~ ^[Yy]$ ]]; then
|
if [[ ! "${confirm}" =~ ^[Yy]$ ]]; then
|
||||||
echo "Skipped. Artifacts are in ${RELEASE_DIR}/"
|
echo "Skipped. Artifacts are in ${RELEASE_DIR}/"
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user