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