mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
fix release notes in workflow
This commit is contained in:
parent
eb3f1f274b
commit
8d4f55b5f9
1 changed files with 4 additions and 2 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
- name: Generate release notes
|
- name: Generate release notes
|
||||||
id: release_notes
|
id: release_notes
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=notes::$(python tools/announceybot/generate_releasenotes.py "${{ steps.tag.outputs.version }}")"
|
python tools/announceybot/generate_releasenotes.py "${{ steps.tag.outputs.version }}" > relnotes.md
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
@ -54,7 +54,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref }}
|
||||||
release_name: Release ${{ steps.tag.outputs.version }} # Remove 'refs/tags/' from the tag name
|
release_name: Release ${{ steps.tag.outputs.version }} # Remove 'refs/tags/' from the tag name
|
||||||
body: ${{ steps.release_notes.outputs.notes }} # Use the release notes from the output of the previous step
|
# body: ${{ steps.release_notes.outputs.notes }} # Use the release notes from the output of the previous step
|
||||||
|
body_path: relnotes.md
|
||||||
|
prerelease: true
|
||||||
|
|
||||||
- name: Announce Release
|
- name: Announce Release
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Reference in a new issue