-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.6.0
- Loading branch information
Showing
81 changed files
with
4,621 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,4 +42,8 @@ | |
|
||
# v0.5.0 | ||
|
||
1. 新增dashboard和统一的终端管理页面 | ||
1. 新增dashboard和统一的终端管理页面 | ||
|
||
# v0.6.0 | ||
|
||
1. 新增vnc隧道支持 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
#!/bin/sh | ||
|
||
VERSION="0.5.0" | ||
HASH=`git log -n1 --pretty=format:%h` | ||
REVERSION=`git log --oneline|wc -l|tr -d ' '` | ||
BUILD_TIME=`date +'%Y-%m-%d %H:%M:%S'` | ||
LDFLAGS="-X 'main.gitHash=$HASH' | ||
-X 'main.gitReversion=$REVERSION' | ||
-X 'main.buildTime=$BUILD_TIME' | ||
-X 'main.version=$VERSION'" | ||
VERSION=0.6.0 | ||
|
||
go run contrib/bindata/main.go -pkg shell -o code/client/tunnel/shell/assets.go \ | ||
-prefix html/shell "$@" html/shell/... | ||
go run contrib/bindata/main.go -pkg dashboard -o code/client/dashboard/assets.go \ | ||
-prefix html/dashboard "$@" html/dashboard/... | ||
CGO_ENABLED=0 go build -ldflags "$LDFLAGS" -o bin/np-svr code/server/*.go | ||
CGO_ENABLED=0 go build -ldflags "$LDFLAGS" -o bin/np-cli code/client/*.go | ||
docker build -t natpass -f contrib/build/Dockerfile . | ||
docker run --rm \ | ||
-v `pwd`:/build \ | ||
-v $HOME/.cache/go-build:/root/.cache/go-build \ | ||
-v $HOME/go/pkg/mod:/root/go/pkg/mod \ | ||
-e BUILD_VERSION=$VERSION \ | ||
natpass /build/contrib/build/build "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
VERSION=0.6.0 | ||
|
||
docker build -t natpass -f contrib/build/Dockerfile . | ||
docker run --rm \ | ||
-v `pwd`:/build \ | ||
-v $HOME/.cache/go-build:/root/.cache/go-build \ | ||
-v $HOME/go/pkg/mod:/root/go/pkg/mod \ | ||
-e BUILD_VERSION=$VERSION \ | ||
natpass go run /build/contrib/build/build_all.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.