Update release.yml

This commit is contained in:
bertybuttface 2023-10-27 19:02:09 +01:00 committed by GitHub
parent 17155cfde6
commit 22b110273f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,14 +12,6 @@ jobs:
-
name: Checkout
uses: actions/checkout@v3
-
name: Check branch
run: |
BRANCH_NAME=$(git branch --contains ${{ github.sha }} | grep 'main')
if [[ -z $BRANCH_NAME ]]; then
echo "Tagged commit is not on main branch, aborting."
exit 1
fi
-
name: Docker meta
id: meta