fix utils/generate-version-file.sh

This commit is contained in:
c9s 2022-09-05 18:18:45 +08:00
parent 36a79336dd
commit 28027518f6
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
3 changed files with 7 additions and 7 deletions

View File

@ -3,6 +3,6 @@
package version package version
const Version = "v1.39.2-5a4d71b0-dev" const Version = "v1.40.1-36a79336-dev"
const VersionGitRef = "5a4d71b0" const VersionGitRef = "36a79336"

View File

@ -1,8 +1,8 @@
//go:build release
// +build release // +build release
package version package version
const Version = "v1.39.2-5a4d71b0" const Version = "v1.40.1-36a79336"
const VersionGitRef = "5a4d71b0"
const VersionGitRef = "36a79336"

View File

@ -18,8 +18,8 @@ if [[ -n $VERSION_SUFFIX ]] ; then
fi fi
cat <<END cat <<END
//go:build !release //go:build $BUILD_FLAGS
// +build !release // +build $BUILD_FLAGS
package $PACKAGE_NAME package $PACKAGE_NAME