From df69005b0998dbdd8b32454b19738af41721d797 Mon Sep 17 00:00:00 2001 From: "kim (grufwub)" Date: Sat, 11 Jul 2020 22:11:45 +0100 Subject: [PATCH] version bump + change build script version checker Signed-off-by: kim (grufwub) --- build-all-gopher.sh | 3 +-- core/server.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 (