feature: use command status to skip next job

This commit is contained in:
jt
2026-09-21 12:23:49 -03:00
parent f14c77e144
commit 8ff91e9c45
2 changed files with 12 additions and 11 deletions
+2 -1
View File
@@ -27,8 +27,9 @@ jobs:
run: |
pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}"
TAG=$(git-flow tag --token="${{ secrets.GITEA_TOKEN }}")
TAG=force
if [ "$TAG" = "" ]; then
if [ -z "$TAG" ]; then
echo "No new tag available, skipping next step."
echo "should_build=false" >> $GITHUB_OUTPUT
else