From 990fab782da24f96b93058fc9fa07f079199b219 Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Mon, 22 Aug 2022 20:28:25 +0800 Subject: [PATCH] github: action release file name --- .github/workflows/macos-6.2.yml | 4 ++-- .github/workflows/macos.yml | 4 ++-- .github/workflows/ubuntu-6.2.yml | 2 +- .github/workflows/ubuntu.yml | 4 ++-- .github/workflows/windows-6.2.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/macos-6.2.yml b/.github/workflows/macos-6.2.yml index 8579e6a9..b4d24b91 100644 --- a/.github/workflows/macos-6.2.yml +++ b/.github/workflows/macos-6.2.yml @@ -110,7 +110,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ env.targetName }}.dmg - asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{ steps.vars.outputs.sha_short }}.dmg + asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}.dmg tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} overwrite: true release_name: GoldenDict-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} @@ -130,7 +130,7 @@ jobs: Qt5.15.2(Intel Kind) auto built by github action. use on your on risk:-) - Filename pattern: **[qt version]-GoldenDict-[OS]-[git commit].[ext]** + Filename pattern: **[Qt version]-GoldenDict-[OS]-[release-date].[ext]** CHANGES: ${{ steps.changelog1.outputs.changelog }} ${{ steps.changelog2.outputs.COMMIT_SUMMARY }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index bb0936eb..48da859d 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -111,7 +111,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ env.targetName }}.dmg - asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{ steps.vars.outputs.sha_short }}.dmg + asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}.dmg tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} overwrite: true release_name: GoldenDict-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} @@ -131,7 +131,7 @@ jobs: Qt5.15.2(Intel Kind) auto built by github action. use on your on risk:-) - Filename pattern: **[qt version]-GoldenDict-[OS]-[git commit].[ext]** + Filename pattern: **[Qt version]-GoldenDict-[OS]-[release-date].[ext]** CHANGES: ${{ steps.changelog1.outputs.changelog }} ${{ steps.changelog2.outputs.COMMIT_SUMMARY }} diff --git a/.github/workflows/ubuntu-6.2.yml b/.github/workflows/ubuntu-6.2.yml index b5b38aeb..40c02963 100644 --- a/.github/workflows/ubuntu-6.2.yml +++ b/.github/workflows/ubuntu-6.2.yml @@ -134,7 +134,7 @@ jobs: Qt5.15.2(Intel Kind) auto built by github action. use on your on risk:-) - Filename pattern: **[qt version]-GoldenDict-[OS]-[git commit].[ext]** + Filename pattern: **[Qt version]-GoldenDict-[OS]-[release-date].[ext]** CHANGES: ${{ steps.changelog1.outputs.changelog }} ${{ steps.changelog2.outputs.COMMIT_SUMMARY }} diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 9e2385f9..d67449c5 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -114,7 +114,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.vars.outputs.appname }} - asset_name: ${{ matrix.qt_ver }}-${{ steps.vars.outputs.appname }} + asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}.AppImage tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} overwrite: true release_name: GoldenDict-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} @@ -134,7 +134,7 @@ jobs: Qt5.15.2(Intel Kind) auto built by github action. use on your on risk:-) - Filename pattern: **[qt version]-GoldenDict-[OS]-[git commit].[ext]** + Filename pattern: **[Qt version]-GoldenDict-[OS]-[release-date].[ext]** CHANGES: ${{ steps.changelog1.outputs.changelog }} ${{ steps.changelog2.outputs.COMMIT_SUMMARY }} diff --git a/.github/workflows/windows-6.2.yml b/.github/workflows/windows-6.2.yml index b0a81719..6bf4b158 100644 --- a/.github/workflows/windows-6.2.yml +++ b/.github/workflows/windows-6.2.yml @@ -124,7 +124,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.package.outputs.packageName }}.zip - asset_name: ${{ matrix.qt_ver }}-${{ steps.package.outputs.packageName }}.zip + asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}.zip tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} overwrite: true release_name: GoldenDict-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} @@ -141,7 +141,7 @@ jobs: Qt5.15.2(Intel Kind) auto built by github action. use on your on risk:-) - Filename pattern: **[qt version]-GoldenDict-[OS]-[git commit].[ext]** + Filename pattern: **[Qt version]-GoldenDict-[OS]-[release-date].[ext]** CHANGES: ${{ steps.changelog1.outputs.changelog }} ${{ steps.changelog2.outputs.COMMIT_SUMMARY }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d437d0d8..341b27dd 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -120,7 +120,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.package.outputs.packageName }}.zip - asset_name: ${{ matrix.qt_ver }}-${{ steps.package.outputs.packageName }}.zip + asset_name: ${{ matrix.qt_ver }}-${{ env.targetName }}_${{ matrix.os }}_${{steps.vars.outputs.release_date}}.zip tag: v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} overwrite: true release_name: GoldenDict-v${{env.version}}-${{env.version-suffix}}.${{ steps.vars.outputs.release_hm }}.${{ steps.vars.outputs.sha_short }} @@ -139,7 +139,7 @@ jobs: Qt5.15.2(Intel Kind) auto built by github action. use on your on risk:-) - Filename pattern: **[qt version]-GoldenDict-[OS]-[git commit].[ext]** + Filename pattern: **[Qt version]-GoldenDict-[OS]-[release-date].[ext]** CHANGES: ${{ steps.changelog1.outputs.changelog }} ${{ steps.changelog2.outputs.COMMIT_SUMMARY }}