Another release workflow fix

If this doesn't stop soon, I am going to get mad :P
This commit is contained in:
Simon Frei 2023-07-16 16:34:42 +02:00
parent 3289b0675c
commit c3b553fcf5
1 changed files with 1 additions and 0 deletions

View File

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