Skip to content

Commit

Permalink
only create tags on pull requests #64
Browse files Browse the repository at this point in the history
  • Loading branch information
frosklis committed Mar 16, 2021
1 parent 63b09a2 commit fafdc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ after_success: |
echo "Tag name: -${TRAVIS_TAG}-"
# If this build is not from a tag, create one
if [[ "$TRAVIS_TAG" == "" ]]; then
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" != "cron" ]]; then
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "pull_request" ]]; then
# If the build is from master we actually create a tag
# Build a tag
# This prints the version number
Expand Down

0 comments on commit fafdc87

Please sign in to comment.