diff --git a/.github/RELEASE_TEMPLATE.md b/.github/RELEASE_TEMPLATE.md new file mode 100644 index 0000000..80b3948 --- /dev/null +++ b/.github/RELEASE_TEMPLATE.md @@ -0,0 +1,3 @@ +## Changelog + +* Automated release body. \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0ee18e0..500886e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -323,6 +323,18 @@ jobs: name: SHA512SUMS path: upload/SHA512SUMS + - name: Generate release body + continue-on-error: true + uses: qhy040404/auto-generate-release-body@v1.1.3 + 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/create-release@v1.1.4 @@ -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/upload-release-asset@v1.0.2 diff --git a/Changelog.md b/Changelog.md new file mode 100644 index 0000000..f3859a2 --- /dev/null +++ b/Changelog.md @@ -0,0 +1,6 @@ +# Changelog + +v3.1.2.0 + +* 修复了已经存在预约时可能会无限循环的bug +* 修复了多人预约时第二个人登录不上的bug \ No newline at end of file