File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818 - v*
1919
2020env :
21- tag_name : ${{ github.ref }}
21+ tag_name : v1.0.0
2222 release_name : qbot-$tag_name
2323
2424jobs :
8282 env :
8383 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8484 with :
85- tag_name : ${{ github.ref }}
86- release_name : ${{ github.ref } }
85+ tag_name : v1.0.0
86+ release_name : ${tag_name }
8787 draft : false
8888 prerelease : false
8989
@@ -107,7 +107,7 @@ jobs:
107107 CGO_ENABLED=0 GOOS=linux go build -ldflags "-X github.com/axiaoxin-com/investool/version.Version=`TZ=Asia/Shanghai date +'%y%m%d%H%M'`" -o investool_app
108108
109109 - name : Tar
110- run : sed -i "s/env = \"localhost\"/env = \"prod\"/g" config.toml && tar czvf investool_app.tar.gz investool_app config.toml
110+ run : sed -i "s/env = \"localhost\"/env = \"prod\"/g" config.toml && tar czvf investool_app.tar.gz investool_app investool/ config.toml
111111
112112 - name : SCP Files
113113 uses : appleboy/scp-action@master
You can’t perform that action at this time.
0 commit comments