Skip to content

Commit

Permalink
Update qbot-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Charmve committed Sep 27, 2023
1 parent f3d48f8 commit 88edd1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/qbot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- v*

env:
tag_name: ${{ github.ref }}
tag_name: v1.0.0
release_name: qbot-$tag_name

jobs:
Expand Down Expand Up @@ -82,8 +82,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
tag_name: v1.0.0
release_name: ${tag_name}
draft: false
prerelease: false

Expand All @@ -107,7 +107,7 @@ jobs:
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
- name: Tar
run: sed -i "s/env = \"localhost\"/env = \"prod\"/g" config.toml && tar czvf investool_app.tar.gz investool_app config.toml
run: sed -i "s/env = \"localhost\"/env = \"prod\"/g" config.toml && tar czvf investool_app.tar.gz investool_app investool/config.toml

- name: SCP Files
uses: appleboy/scp-action@master
Expand Down

0 comments on commit 88edd1d

Please sign in to comment.