Generate release notes (#1774)

* ci: generate better release notes

* scripts: rename generate-release-note.sh

* ci/release: check out all the history

* ci/release: accept version from input
This commit is contained in:
Takase
2024-06-21 08:06:18 +08:00
committed by takase1121
parent 8989dd6dc9
commit bab7b3caf9
5 changed files with 122 additions and 9 deletions
+5 -2
View File
@@ -24,6 +24,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fetch Version
id: tag
run: |
@@ -38,6 +40,8 @@ jobs:
tag_name: ${{ steps.tag.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Release Notes
run: bash scripts/generate-release-notes.sh --version ${{ steps.tag.outputs.version }}
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
@@ -45,8 +49,7 @@ jobs:
tag_name: ${{ steps.tag.outputs.version }}
name: Lite XL ${{ steps.tag.outputs.version }}
draft: true
body_path: changelog.md
generate_release_notes: true
body_path: release-notes.md
build_linux:
name: Linux