Skip to content

Commit 88edd1d

Browse files
authored
Update qbot-release.yml
1 parent f3d48f8 commit 88edd1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/qbot-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
- v*
1919

2020
env:
21-
tag_name: ${{ github.ref }}
21+
tag_name: v1.0.0
2222
release_name: qbot-$tag_name
2323

2424
jobs:
@@ -82,8 +82,8 @@ jobs:
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

0 commit comments

Comments
 (0)