From 88edd1dd45e028b66d07a40eabbbfe2e0a5bc6d2 Mon Sep 17 00:00:00 2001 From: Wei ZHANG Date: Wed, 27 Sep 2023 13:39:41 +0800 Subject: [PATCH] Update qbot-release.yml --- .github/workflows/qbot-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/qbot-release.yml b/.github/workflows/qbot-release.yml index df7f3f9..7c1d5d2 100644 --- a/.github/workflows/qbot-release.yml +++ b/.github/workflows/qbot-release.yml @@ -18,7 +18,7 @@ on: - v* env: - tag_name: ${{ github.ref }} + tag_name: v1.0.0 release_name: qbot-$tag_name jobs: @@ -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 @@ -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