From 0649a73d84b6af09ebed5f9b57bfe973beca707a Mon Sep 17 00:00:00 2001 From: Mike Sawka Date: Thu, 25 Apr 2024 11:17:52 -0700 Subject: [PATCH] bump wave version to v0.7.3, bump waveshell version to v0.7 (#604) --- package.json | 2 +- scripthaus.md | 6 +++--- waveshell/pkg/base/base.go | 2 +- wavesrv/pkg/scbase/scbase.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6cafd41a..1dffa8ef 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "productName": "Wave", "description": "An Open-Source, AI-Native, Terminal Built for Seamless Workflows", - "version": "0.7.2", + "version": "0.7.3", "main": "dist/emain.js", "license": "Apache-2.0", "repository": { diff --git a/scripthaus.md b/scripthaus.md index 21785bc9..96c9c4fa 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.6 +WAVESHELL_VERSION=v0.7 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.6 +WAVESHELL_VERSION=v0.7 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.6 +WAVESHELL_VERSION=v0.7 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 71cb12a2..5f85f30b 100644 --- a/waveshell/pkg/base/base.go +++ b/waveshell/pkg/base/base.go @@ -29,7 +29,7 @@ const SSHCommandVarName = "SSH_COMMAND" const MShellDebugVarName = "MSHELL_DEBUG" const SessionsDirBaseName = "sessions" const RcFilesDirBaseName = "rcfiles" -const MShellVersion = "v0.6.0" +const MShellVersion = "v0.7.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 67c11bf2..60daad85 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.6.0" // must match base.MShellVersion +const MShellVersion = "v0.7.0" // must match base.MShellVersion // initialized by InitialzeWaveAuthKey (called by main-server) var WaveAuthKey string