1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00

Include remote branches in release workflow check

This commit is contained in:
Simon Frei 2023-07-16 23:02:40 +02:00
parent 877f8ca0a3
commit 14f969edb6

View file

@ -57,7 +57,7 @@ jobs:
- name: Ensure release branch - name: Ensure release branch
run: | run: |
git config --system --add safe.directory '*' git config --system --add safe.directory '*'
if ! git branch --contains $(git rev-parse HEAD) | grep release >/dev/null; then if ! git branch -a --contains $(git rev-parse HEAD) | grep release >/dev/null; then
echo "Tag is not part of release branch - aborting..." echo "Tag is not part of release branch - aborting..."
exit 1 exit 1
fi fi