Skip to content

Commit

Permalink
Modify branch check
Browse files Browse the repository at this point in the history
  • Loading branch information
valb3r committed Dec 6, 2021
1 parent 351d70c commit 7697979
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: actions/checkout@v2
with:
ref: master
fetch-depth: 0
- name: Exit if not on master branch
run: |
if [ $(git --no-pager branch --format='%(refname:short)' --contains $(git rev-parse "$TAG_NAME") | grep -E '^master$') ]; then
Expand Down

0 comments on commit 7697979

Please sign in to comment.