-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #447 from untangle/MFW-6041-v2
Added hardcoded version tag version: bug
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,8 +39,8 @@ jobs: | |
- gem install logger | ||
- git config --local user.name "Travis CI" | ||
- git config --local user.email "[email protected]" | ||
- export TRAVIS_TAG=$(python3 version.py --fetch --branch $TRAVIS_BRANCH <<< "$TRAVIS_COMMIT_MESSAGE") | ||
- 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 | ||
- 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!"; fi | ||
- RELEASE_NOTES=${TRAVIS_COMMIT_MESSAGE//$'\n'/ } | ||
|
||
# This needs to be here, otherwise travis will try to take some | ||
|