action: modify release note

This commit is contained in:
xiaoyifang 2022-02-04 18:46:44 +08:00
parent ccf3bea934
commit 6cd1401aee
2 changed files with 10 additions and 2 deletions

View file

@ -6,10 +6,14 @@ on:
branches: branches:
- dev - dev
- staged - staged
paths-ignore:
- 'docs/**'
pull_request: pull_request:
branches: branches:
- dev - dev
- staged - staged
paths-ignore:
- 'docs/**'
jobs: jobs:
build: build:
name: Build name: Build
@ -74,7 +78,7 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.vars.outputs.appname }} file: ${{ steps.vars.outputs.appname }}
asset_name: ${{ 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 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}} 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 prerelease: true

View file

@ -6,10 +6,14 @@ on:
branches: branches:
- dev - dev
- staged - staged
paths-ignore:
- 'docs/**'
pull_request: pull_request:
branches: branches:
- dev - dev
- staged - staged
paths-ignore:
- 'docs/**'
jobs: jobs:
build: build:
name: Build name: Build
@ -92,7 +96,7 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.package.outputs.packageName }}.zip file: ${{ steps.package.outputs.packageName }}.zip
asset_name: ${{ 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 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}} 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 prerelease: true