Skip to content

Commit a56fa12

Browse files
committed
Generate release notes only once per tag
1 parent 61b4f30 commit a56fa12

4 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/linux-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ jobs:
1515
runner: ubuntu-latest
1616
target: x86_64-unknown-linux-gnu
1717
archive_name: devloop-x86_64-unknown-linux-gnu.tar.gz
18+
generate_release_notes: true

.github/workflows/macos-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ jobs:
1515
runner: macos-14
1616
target: aarch64-apple-darwin
1717
archive_name: devloop-aarch64-apple-darwin.tar.gz
18+
generate_release_notes: false

.github/workflows/release-reusable.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
archive_name:
1313
required: true
1414
type: string
15+
generate_release_notes:
16+
required: true
17+
type: boolean
1518

1619
permissions:
1720
contents: write
@@ -57,5 +60,5 @@ jobs:
5760
uses: softprops/action-gh-release@v2
5861
with:
5962
files: ${{ inputs.archive_name }}
60-
generate_release_notes: true
63+
generate_release_notes: ${{ inputs.generate_release_notes }}
6164
fail_on_unmatched_files: true

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to `devloop` will be recorded in this file.
44

55
## [Unreleased]
66

7+
### Fixed
8+
- Platform-specific release workflows no longer duplicate GitHub release notes when both assets are published to the same tag.
9+
710
## [0.6.2] - 2026-03-26
811

912
### Fixed

0 commit comments

Comments
 (0)