Skip to content

Commit

Permalink
fix utils/generate-version-file.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Sep 5, 2022
1 parent 36a7933 commit 2802751
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pkg/version/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

package version

const Version = "v1.39.2-5a4d71b0-dev"
const Version = "v1.40.1-36a79336-dev"

const VersionGitRef = "5a4d71b0"
const VersionGitRef = "36a79336"
6 changes: 3 additions & 3 deletions pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//go:build release
// +build release

package version

const Version = "v1.39.2-5a4d71b0"

const VersionGitRef = "5a4d71b0"
const Version = "v1.40.1-36a79336"

const VersionGitRef = "36a79336"
4 changes: 2 additions & 2 deletions utils/generate-version-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ if [[ -n $VERSION_SUFFIX ]] ; then
fi

cat <<END
//go:build !release
// +build !release
//go:build $BUILD_FLAGS
// +build $BUILD_FLAGS
package $PACKAGE_NAME
Expand Down

0 comments on commit 2802751

Please sign in to comment.