diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index e492c2027..1f72c3a6d 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -59,14 +59,10 @@ jobs: git config --system --add safe.directory '*' git branch -a git rev-parse HEAD - git branch --contains $(git rev-parse HEAD) - git fetch - git branch -a - git rev-parse HEAD - git branch --contains $(git rev-parse HEAD) - if ! git branch --contains $(git rev-parse HEAD) | grep release-test >/dev/null; then + git branch -a --contains $(git rev-parse HEAD) + git branch -a --contains $(git rev-parse HEAD) | grep release-test + if ! git branch -a --contains $(git rev-parse HEAD) | grep release-test >/dev/null; then echo "Tag is not part of release branch - aborting..." - exit 1 fi - name: build_release