From 16016099f209ddb56fb40c087f4273351464e9f6 Mon Sep 17 00:00:00 2001 From: yifang Date: Sat, 12 Feb 2022 14:21:10 +0800 Subject: [PATCH] action:update auto tag name --- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index f808ef1d..a46c7862 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -91,7 +91,7 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.vars.outputs.appname }} asset_name: ${{ steps.vars.outputs.appname }} - tag: pre-${{steps.vars.outputs.release_date}}-${{ github.ref_name }} + tag: pre-${{steps.vars.outputs.release_date}}-${{ github.ref_name }}-${{ steps.vars.outputs.sha_short }} overwrite: true release_name: Ubuntu-Windows-${{ github.ref_name }}-${{steps.vars.outputs.release_date}} prerelease: true diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 54e59a0d..a1605a50 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -105,7 +105,7 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.package.outputs.packageName }}.zip asset_name: ${{ steps.package.outputs.packageName }}.zip - tag: pre-${{steps.vars.outputs.release_date}}-${{ github.ref_name }} + tag: pre-${{steps.vars.outputs.release_date}}-${{ github.ref_name }}-${{ steps.vars.outputs.sha_short }} overwrite: true release_name: Ubuntu-Windows-${{ github.ref_name }}-${{steps.vars.outputs.release_date}} prerelease: true