Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Auto generate release body in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed May 14, 2023
1 parent eacc3ad commit 93f2fcd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/RELEASE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Changelog

* Automated release body.
15 changes: 14 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,18 @@ jobs:
name: SHA512SUMS
path: upload/SHA512SUMS

- name: Generate release body
continue-on-error: true
uses: qhy040404/[email protected]
with:
changelog: 'Changelog.md'
template: '.github/RELEASE_TEMPLATE.md'
tag: ${{ github.ref_name }}
template-data: '* Automated release body.'
fore-delimiter: ${{ github.ref_name }}
back-delimiter: '---'


- name: Create Library GitHub release
id: github_release
uses: actions/[email protected]
Expand All @@ -331,7 +343,8 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: v${{ github.ref }}
prerelease: true
body_path: .github/RELEASE_TEMPLATE.md
prerelease: false

- name: Upload Library-linux to GitHub release
uses: actions/[email protected]
Expand Down
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

v3.1.2.0

* 修复了已经存在预约时可能会无限循环的bug
* 修复了多人预约时第二个人登录不上的bug

0 comments on commit 93f2fcd

Please sign in to comment.