Browse Source
try to get version from version/version.go
pull/378/head
Anton Kaliaev
8 years ago
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
2 changed files with
7 additions and
3 deletions
-
scripts/dist.sh
-
version/version.go
|
|
@ -1,6 +1,10 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
set -e |
|
|
|
|
|
|
|
# Get the version from the environment, or try to figure it out. |
|
|
|
if [ -z $VERSION ]; then |
|
|
|
VERSION=$(awk -F\" '/Version =/ { print $2; exit }' < version/version.go) |
|
|
|
fi |
|
|
|
if [ -z "$VERSION" ]; then |
|
|
|
echo "Please specify a version." |
|
|
|
exit 1 |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
package version |
|
|
|
|
|
|
|
const Maj = "0" |
|
|
|
const Min = "8" // validator set changes, tmsp->abci, app persistence/recovery, BFT-liveness fix
|
|
|
|
const Fix = "0" //
|
|
|
|
const Min = "8" |
|
|
|
const Fix = "0" |
|
|
|
|
|
|
|
const Version = Maj + "." + Min + "." + Fix |
|
|
|
const Version = "0.8.0" |