From 6cd1401aeee6b8b3483f864e4f0fab2c42e6acb1 Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Fri, 4 Feb 2022 18:46:44 +0800 Subject: [PATCH] action: modify release note --- .github/workflows/ubuntu.yml | 6 +++++- .github/workflows/windows.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index a8fba7fd..b2122ea2 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -6,10 +6,14 @@ on: branches: - dev - staged + paths-ignore: + - 'docs/**' pull_request: branches: - dev - staged + paths-ignore: + - 'docs/**' jobs: build: name: Build @@ -74,7 +78,7 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.vars.outputs.appname }} asset_name: ${{ steps.vars.outputs.appname }} - tag: prerelease-${{steps.vars.outputs.release_date}} + tag: pre-${{steps.vars.outputs.release_date}}-${{ github.ref_name }} overwrite: true release_name: Ubuntu-Windows-${{ github.ref_name }}.${{ steps.vars.outputs.sha_short }} built on ${{steps.vars.outputs.release_date}} ${{steps.vars.outputs.release_time_clock}} prerelease: true diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 701c1f1b..841a63bb 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -6,10 +6,14 @@ on: branches: - dev - staged + paths-ignore: + - 'docs/**' pull_request: branches: - dev - staged + paths-ignore: + - 'docs/**' jobs: build: name: Build @@ -92,7 +96,7 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.package.outputs.packageName }}.zip asset_name: ${{ steps.package.outputs.packageName }}.zip - tag: prerelease-${{steps.vars.outputs.release_date}} + tag: pre-${{steps.vars.outputs.release_date}}-${{ github.ref_name }} overwrite: true release_name: Ubuntu-Windows-${{ github.ref_name }}.${{ steps.vars.outputs.sha_short }} built on ${{steps.vars.outputs.release_date}} ${{steps.vars.outputs.release_time_clock}} prerelease: true