diff --git a/build/base-package/install.sh b/build/base-package/install.sh index 98e8dd54d..f7ea33ece 100644 --- a/build/base-package/install.sh +++ b/build/base-package/install.sh @@ -10,7 +10,7 @@ function command_exists() { if [[ x"$VERSION" == x"" ]]; then if [[ "$LOCAL_RELEASE" == "1" ]]; then ts=$(date +%Y%m%d%H%M%S) - export VERSION="1.12.0-local-$ts" + export VERSION="1.12.0-$ts" echo "will build and use a local release of Olares with version: $VERSION" echo "" else diff --git a/cli/cmd/ctl/os/release.go b/cli/cmd/ctl/os/release.go index ba231b024..cdacb1d63 100644 --- a/cli/cmd/ctl/os/release.go +++ b/cli/cmd/ctl/os/release.go @@ -48,7 +48,7 @@ func NewCmdRelease() *cobra.Command { } if version == "" { - version = fmt.Sprintf("1.12.0-local-%s", time.Now().Format("20060102150405")) + version = fmt.Sprintf("1.12.0-%s", time.Now().Format("20060102150405")) fmt.Printf("--version unspecified, using: %s\n", version) time.Sleep(1 * time.Second) }