Release only on develop

This commit is contained in:
adrinr 2023-04-21 16:49:24 +01:00
parent 410046cae2
commit 29ed6bf10b
1 changed files with 6 additions and 6 deletions

View File

@ -31,12 +31,12 @@ jobs:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
fetch-depth: 1
# - name: Fail if tag is not develop
# run: |
# if ! git merge-base --is-ancestor ${{ github.sha }} origin/develop; then
# echo "Tag is not in develop"
# exit 1
# fi
- name: Fail if tag is not develop
run: |
if ! git merge-base --is-ancestor ${{ github.sha }} origin/develop; then
echo "Tag is not in develop"
exit 1
fi
- uses: actions/setup-node@v1
with: