ci: conditionally tag

This commit is contained in:
Ron de las Alas 2023-10-31 09:57:11 -04:00
parent 352acb9700
commit ea2d7b1fe2

View file

@ -50,6 +50,7 @@ jobs:
- run: gulp test
- run: gulp zip
- name: Tag build
if: (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/develop') || startsWith(github.ref, 'refs/heads/hotfix') || startsWith(github.ref, 'refs/heads/release')
run: |
TRAVIS_TAG="${{github.ref_name}}" TRAVIS_COMMIT="${{github.sha}}" travis/deploy-prebuilt.sh