Fix pointer
This commit is contained in:
parent
1b54a028db
commit
e173cd2c51
|
@ -30,7 +30,7 @@ jobs:
|
||||||
|
|
||||||
- name: Fail if tag is not master
|
- name: Fail if tag is not master
|
||||||
run: |
|
run: |
|
||||||
if ! git merge-base --is-ancestor ${{ github.sha }} origin/develop; then
|
if ! git merge-base --is-ancestor ${{ github.sha }} origin/master; then
|
||||||
echo "Tag is not in master. This pipeline can only execute tags that are present on the master branch"
|
echo "Tag is not in master. This pipeline can only execute tags that are present on the master branch"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue