mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-06 01:51:20 +00:00
update version for rc1
This commit is contained in:
parent
790e04ed3e
commit
d4fa98de68
@ -19,12 +19,12 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
|||||||
# Change into that dir because we expect that.
|
# Change into that dir because we expect that.
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
|
|
||||||
# Generate the tag.
|
## Generate the tag.
|
||||||
if [ -z "$NOTAG" ]; then
|
#if [ -z "$NOTAG" ]; then
|
||||||
echo "==> Tagging..."
|
# echo "==> Tagging..."
|
||||||
git commit --allow-empty -a -m "Release v$VERSION"
|
# git commit --allow-empty -a -m "Release v$VERSION"
|
||||||
git tag -a -m "Version $VERSION" "v${VERSION}" master
|
# git tag -a -m "Version $VERSION" "v${VERSION}" master
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# Do a hermetic build inside a Docker container.
|
# Do a hermetic build inside a Docker container.
|
||||||
docker build -t tendermint/tendermint-builder scripts/tendermint-builder/
|
docker build -t tendermint/tendermint-builder scripts/tendermint-builder/
|
||||||
|
@ -1,24 +1,18 @@
|
|||||||
package version
|
package version
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
)
|
|
||||||
|
|
||||||
const Maj = "0"
|
const Maj = "0"
|
||||||
const Min = "10"
|
const Min = "10"
|
||||||
const Fix = "0"
|
const Fix = "0"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// The full version string
|
// The full version string
|
||||||
Version = "0.10.0"
|
Version = "0.10.0-rc1"
|
||||||
|
|
||||||
// GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
|
// GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
|
||||||
GitCommit string
|
GitCommit string
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
Version = fmt.Sprintf("%d.%d.%d", Maj, Min, Fix)
|
|
||||||
|
|
||||||
if GitCommit != "" {
|
if GitCommit != "" {
|
||||||
Version += "-" + GitCommit[:8]
|
Version += "-" + GitCommit[:8]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user