From 8b540cd9892812e2dd3d21d86241e00cdff696dd Mon Sep 17 00:00:00 2001 From: Mike Sawka Date: Thu, 7 Mar 2024 13:06:34 -0800 Subject: [PATCH] bump waveshell to v0.5.0 (#403) --- scripthaus.md | 6 +++--- waveshell/pkg/base/base.go | 2 +- wavesrv/pkg/scbase/scbase.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripthaus.md b/scripthaus.md index 96e3fb5e6..edff3608b 100644 --- a/scripthaus.md +++ b/scripthaus.md @@ -44,7 +44,7 @@ rm -rf bin/ rm -rf build/ node_modules/.bin/webpack --env prod WAVESRV_VERSION=$(node -e 'console.log(require("./version.js"))') -WAVESHELL_VERSION=v0.4 +WAVESHELL_VERSION=v0.5 GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')" function buildWaveShell { (cd waveshell; CGO_ENABLED=0 GOOS=$1 GOARCH=$2 go build -ldflags="$GO_LDFLAGS" -o ../bin/mshell/mshell-$WAVESHELL_VERSION-$1.$2 main-waveshell.go) @@ -69,7 +69,7 @@ rm -rf bin/ rm -rf build/ node_modules/.bin/webpack --env prod WAVESRV_VERSION=$(node -e 'console.log(require("./version.js"))') -WAVESHELL_VERSION=v0.4 +WAVESHELL_VERSION=v0.5 GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')" function buildWaveShell { (cd waveshell; CGO_ENABLED=0 GOOS=$1 GOARCH=$2 go build -ldflags="$GO_LDFLAGS" -o ../bin/mshell/mshell-$WAVESHELL_VERSION-$1.$2 main-waveshell.go) @@ -96,7 +96,7 @@ CGO_ENABLED=1 go build -tags "osusergo,netgo,sqlite_omit_load_extension" -ldflag ```bash # @scripthaus command fullbuild-waveshell set -e -WAVESHELL_VERSION=v0.4 +WAVESHELL_VERSION=v0.5 GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')" function buildWaveShell { (cd waveshell; CGO_ENABLED=0 GOOS=$1 GOARCH=$2 go build -ldflags="$GO_LDFLAGS" -o ../bin/mshell/mshell-$WAVESHELL_VERSION-$1.$2 main-waveshell.go) diff --git a/waveshell/pkg/base/base.go b/waveshell/pkg/base/base.go index bdd98a5b7..a571f189e 100644 --- a/waveshell/pkg/base/base.go +++ b/waveshell/pkg/base/base.go @@ -30,7 +30,7 @@ const SSHCommandVarName = "SSH_COMMAND" const MShellDebugVarName = "MSHELL_DEBUG" const SessionsDirBaseName = "sessions" const RcFilesDirBaseName = "rcfiles" -const MShellVersion = "v0.4.0" +const MShellVersion = "v0.5.0" const RemoteIdFile = "remoteid" const DefaultMShellInstallBinDir = "/opt/mshell/bin" const LogFileName = "mshell.log" diff --git a/wavesrv/pkg/scbase/scbase.go b/wavesrv/pkg/scbase/scbase.go index 3bc397156..9ba375991 100644 --- a/wavesrv/pkg/scbase/scbase.go +++ b/wavesrv/pkg/scbase/scbase.go @@ -36,7 +36,7 @@ const WaveDirName = ".waveterm" // must match emain.ts const WaveDevDirName = ".waveterm-dev" // must match emain.ts const WaveAppPathVarName = "WAVETERM_APP_PATH" const WaveAuthKeyFileName = "waveterm.authkey" -const MShellVersion = "v0.4.0" +const MShellVersion = "v0.5.0" var SessionDirCache = make(map[string]string) var ScreenDirCache = make(map[string]string)