mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
support version_suffix
This commit is contained in:
parent
0290e6d07b
commit
6482b13edc
|
@ -7,6 +7,10 @@ if [[ -z $VERSION ]] ; then
|
|||
VERSION=$(git describe --tags)
|
||||
fi
|
||||
|
||||
if [[ -n $VERSION_SUFFIX ]] ; then
|
||||
VERSION=${VERSION}${VERSION_SUFFIX}
|
||||
fi
|
||||
|
||||
cat <<END
|
||||
// +build release
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user