准备打包

This commit is contained in:
lwch
2021-11-08 12:20:38 +08:00
parent 6d1dad1b70
commit 1d624fd1ff
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
VERSION=0.6.0
VERSION=0.6.1
docker build -t natpass -f contrib/build/Dockerfile .
docker run --rm \
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
VERSION=0.6.0
VERSION=0.6.1
docker build -t natpass -f contrib/build/Dockerfile .
docker run --rm \
+2
View File
@@ -2,6 +2,8 @@
cd $(dirname $(realpath $0))/../../
BUILD_VERSION=${BUILD_VERSION:-0.0.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'`
+1 -2
View File
@@ -192,8 +192,7 @@ func build(t target) {
env = append(env, "CGO_ENABLED=1")
}
args = append(args,
path.Join("code", "client", "main.go"),
path.Join("code", "client", "connect.go"))
path.Join("code", "client", "main.go"))
cmd = exec.Command("go", args...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr