Skip to content

Commit

Permalink
Altered travis.yaml & version.go to reflect master branch details
Browse files Browse the repository at this point in the history
Signed-off-by: Lalatendu Das <[email protected]>
  • Loading branch information
lalat-das committed Jun 17, 2024
1 parent d33f970 commit 226fca7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ script:
- |
if [ -n "${TRAVIS_TAG}" ]; then
export RELEASE_VER=${TRAVIS_TAG}
elif [ "${TRAVIS_BRANCH}" == "1.2.13" ]; then
export DOCKER_IMAGE_TAG=1.2.13
elif [ "${TRAVIS_BRANCH}" == "master" ]; then
export DOCKER_IMAGE_TAG=master-latest
else
export RELEASE_VER=`git rev-parse --short HEAD`
fi
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
//
// These variables typically come from -ldflags settings.
var (
gitVersion = "1.2.13"
gitVersion = "master-latest"
gitCommit = "" // sha1 from git, output of $(git rev-parse HEAD)
buildDate = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ')
kbVerRegex = regexp.MustCompile(`^(v\d+\.\d+\.\d+)(.*)`)
Expand Down

0 comments on commit 226fca7

Please sign in to comment.