mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-13 07:40:44 +08:00
feat: 添加发布说明
This commit is contained in:
parent
1108b82510
commit
70dbd77f19
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -82,3 +82,11 @@ jobs:
|
||||
asset_path: ./dist.zip
|
||||
asset_name: dist.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Add release notes
|
||||
run: |
|
||||
gh release view v${{ steps.determine_version.outputs.version }} --json body -q .body > body.txt
|
||||
echo -e "哪吒V1请下载dist.zip\n哪吒V0请下载v0-${{ steps.determine_version.outputs.version }}.zip" >> body.txt
|
||||
gh release edit v${{ steps.determine_version.outputs.version }} --notes-file body.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user