diff --git a/build-all-gopher.sh b/build-all-gopher.sh index cffaaf9..1a6a96a 100755 --- a/build-all-gopher.sh +++ b/build-all-gopher.sh @@ -3,8 +3,7 @@ set -e PROJECT='gophor.gopher' -#VERSION="$(cat 'gophor.go' | grep -E '^\s*GophorVersion' | sed -e 's|\s*GophorVersion = \"||' -e 's|\"\s*$||')" -VERSION='v0.02-alpha' +VERSION="$(cat 'core/server.go' | grep -E '^\s*Version' | sed -e 's|\s*Version = \"||' -e 's|\"\s*$||')" LOGFILE='build.log' OUTDIR="build-gopher-${VERSION}" diff --git a/core/server.go b/core/server.go index cd9195d..89f1925 100644 --- a/core/server.go +++ b/core/server.go @@ -14,7 +14,7 @@ import ( const ( // Version holds the current version string - Version = "v0.3-alpha" + Version = "v2.0.0-alpha" ) var (