Browse Source

update version for rc1

pull/508/head
Ethan Buchman 8 years ago
parent
commit
d4fa98de68
2 changed files with 7 additions and 13 deletions
  1. +6
    -6
      scripts/dist.sh
  2. +1
    -7
      version/version.go

+ 6
- 6
scripts/dist.sh View File

@ -19,12 +19,12 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
# Change into that dir because we expect that.
cd "$DIR"
# Generate the tag.
if [ -z "$NOTAG" ]; then
echo "==> Tagging..."
git commit --allow-empty -a -m "Release v$VERSION"
git tag -a -m "Version $VERSION" "v${VERSION}" master
fi
## Generate the tag.
#if [ -z "$NOTAG" ]; then
# echo "==> Tagging..."
# git commit --allow-empty -a -m "Release v$VERSION"
# git tag -a -m "Version $VERSION" "v${VERSION}" master
#fi
# Do a hermetic build inside a Docker container.
docker build -t tendermint/tendermint-builder scripts/tendermint-builder/


+ 1
- 7
version/version.go View File

@ -1,24 +1,18 @@
package version
import (
"fmt"
)
const Maj = "0"
const Min = "10"
const Fix = "0"
var (
// 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 string
)
func init() {
Version = fmt.Sprintf("%d.%d.%d", Maj, Min, Fix)
if GitCommit != "" {
Version += "-" + GitCommit[:8]
}


Loading…
Cancel
Save