Skip to content

Commit

Permalink
travis tag to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoAnderson committed Apr 26, 2023
1 parent 9bd0f23 commit 3ea14e6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,18 @@ script:
after_success:
- if [ $TRAVIS_BRANCH = 'development_3.0' ]; then bash travisScript.sh; else echo "Not a branch set to push"; fi

before_deploy:
# Set up git user name and tag this commit
- echo "before deploy"
- echo "$TRAVIS_TAG" "$TRAVIS_COMMIT"
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d')}
- if [ $TRAVIS_BRANCH = 'development_3.0' ]; then git tag $TRAVIS_TAG; fi
- echo "$TRAVIS_TAG" "$TRAVIS_COMMIT"

deploy:
provider: releases
api_key: ${GIT_ACCESS_TOKEN}
file: "../deployable_binaries.zip"
skip_cleanup: true
on:
all_branches: true

0 comments on commit 3ea14e6

Please sign in to comment.