mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
bump version to v0.7.2, bump waveshell version to 0.6 (#512)
This commit is contained in:
parent
d3c771efb1
commit
964751aae1
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"productName": "Wave",
|
"productName": "Wave",
|
||||||
"description": "An Open-Source, AI-Native, Terminal Built for Seamless Workflows",
|
"description": "An Open-Source, AI-Native, Terminal Built for Seamless Workflows",
|
||||||
"version": "0.7.1",
|
"version": "0.7.2",
|
||||||
"main": "dist/emain.js",
|
"main": "dist/emain.js",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -44,7 +44,7 @@ rm -rf bin/
|
|||||||
rm -rf build/
|
rm -rf build/
|
||||||
node_modules/.bin/webpack --env prod
|
node_modules/.bin/webpack --env prod
|
||||||
WAVESRV_VERSION=$(node -e 'console.log(require("./version.js"))')
|
WAVESRV_VERSION=$(node -e 'console.log(require("./version.js"))')
|
||||||
WAVESHELL_VERSION=v0.5
|
WAVESHELL_VERSION=v0.6
|
||||||
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
||||||
function buildWaveShell {
|
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)
|
(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/
|
rm -rf build/
|
||||||
node_modules/.bin/webpack --env prod
|
node_modules/.bin/webpack --env prod
|
||||||
WAVESRV_VERSION=$(node -e 'console.log(require("./version.js"))')
|
WAVESRV_VERSION=$(node -e 'console.log(require("./version.js"))')
|
||||||
WAVESHELL_VERSION=v0.5
|
WAVESHELL_VERSION=v0.6
|
||||||
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
||||||
function buildWaveShell {
|
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)
|
(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
|
```bash
|
||||||
# @scripthaus command fullbuild-waveshell
|
# @scripthaus command fullbuild-waveshell
|
||||||
set -e
|
set -e
|
||||||
WAVESHELL_VERSION=v0.5
|
WAVESHELL_VERSION=v0.6
|
||||||
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
||||||
function buildWaveShell {
|
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)
|
(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)
|
||||||
|
@ -17,6 +17,7 @@ import (
|
|||||||
"github.com/wavetermdev/waveterm/waveshell/pkg/wlog"
|
"github.com/wavetermdev/waveterm/waveshell/pkg/wlog"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// this is set from build/linker flags
|
||||||
var BuildTime = "0"
|
var BuildTime = "0"
|
||||||
|
|
||||||
func readFullRunPacket(packetParser *packet.PacketParser) (*packet.RunPacketType, error) {
|
func readFullRunPacket(packetParser *packet.PacketParser) (*packet.RunPacketType, error) {
|
||||||
|
@ -29,7 +29,7 @@ const SSHCommandVarName = "SSH_COMMAND"
|
|||||||
const MShellDebugVarName = "MSHELL_DEBUG"
|
const MShellDebugVarName = "MSHELL_DEBUG"
|
||||||
const SessionsDirBaseName = "sessions"
|
const SessionsDirBaseName = "sessions"
|
||||||
const RcFilesDirBaseName = "rcfiles"
|
const RcFilesDirBaseName = "rcfiles"
|
||||||
const MShellVersion = "v0.5.0"
|
const MShellVersion = "v0.6.0"
|
||||||
const RemoteIdFile = "remoteid"
|
const RemoteIdFile = "remoteid"
|
||||||
const DefaultMShellInstallBinDir = "/opt/mshell/bin"
|
const DefaultMShellInstallBinDir = "/opt/mshell/bin"
|
||||||
const LogFileName = "mshell.log"
|
const LogFileName = "mshell.log"
|
||||||
|
@ -36,7 +36,7 @@ const WaveDirName = ".waveterm" // must match emain.ts
|
|||||||
const WaveDevDirName = ".waveterm-dev" // must match emain.ts
|
const WaveDevDirName = ".waveterm-dev" // must match emain.ts
|
||||||
const WaveAppPathVarName = "WAVETERM_APP_PATH"
|
const WaveAppPathVarName = "WAVETERM_APP_PATH"
|
||||||
const WaveAuthKeyFileName = "waveterm.authkey"
|
const WaveAuthKeyFileName = "waveterm.authkey"
|
||||||
const MShellVersion = "v0.5.0"
|
const MShellVersion = "v0.6.0" // must match base.MShellVersion
|
||||||
|
|
||||||
// initialized by InitialzeWaveAuthKey (called by main-server)
|
// initialized by InitialzeWaveAuthKey (called by main-server)
|
||||||
var WaveAuthKey string
|
var WaveAuthKey string
|
||||||
|
Loading…
Reference in New Issue
Block a user