mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
fix utils/generate-version-file.sh
This commit is contained in:
parent
36a79336dd
commit
28027518f6
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user