Skip to content

Commit

Permalink
reverted the tag comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal-malji committed Dec 19, 2024
1 parent 0fe4032 commit c5982b3
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 @@ -40,7 +40,7 @@ jobs:
- git config --local user.name "Travis CI"
- git config --local user.email "travis@travis-ci.org"
- export TRAVIS_TAG=v1.64.13
- if [ -n "$TRAVIS_TAG" ] && [ ! $(git tag -l "$TRAVIS_TAG") ]; then git tag $TRAVIS_TAG; else echo "Uh-oh, tag $TRAVIS_TAG already exists!"; VERSION=$(echo $TRAVIS_TAG | sed 's/^v//'); NEW_VERSION=$(echo $VERSION | awk -F. '{printf "%d.%d.%d", $1, $2, $3+1}') ; TRAVIS_TAG="v$NEW_VERSION" ; echo "New tag $TRAVIS_TAG" ; git tag $TRAVIS_TAG ;fi
- if [ -n "$TRAVIS_TAG" ] && [ ! $(git tag -l "$TRAVIS_TAG") ]; then git tag $TRAVIS_TAG; else echo "Uh-oh, tag $TRAVIS_TAG already exists!"; fi
- RELEASE_NOTES=${TRAVIS_COMMIT_MESSAGE//$'\n'/ }

# This needs to be here, otherwise travis will try to take some
Expand Down

0 comments on commit c5982b3

Please sign in to comment.