diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6480b4..31eef18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,8 +10,8 @@ # * uploads those artifacts to temporary workflow zip # * on success, uploads the artifacts to a GitHub Release # -# Note that the GitHub Release will be created with a generated -# title/body based on your changelogs. +# Note that the GitHub Release will be created with the tag as its +# title and a generated body based on your changelogs. name: Release permissions: @@ -325,14 +325,14 @@ jobs: - name: Create GitHub Release env: PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--prerelease' || '' }}" - ANNOUNCEMENT_TITLE: "${{ fromJson(steps.host.outputs.manifest).announcement_title }}" + RELEASE_TITLE: "${{ needs.plan.outputs.tag }}" ANNOUNCEMENT_BODY: "${{ fromJson(steps.host.outputs.manifest).announcement_github_body }}" RELEASE_COMMIT: "${{ github.sha }}" run: | # Write and read notes from a file to avoid quoting breaking things echo "$ANNOUNCEMENT_BODY" > $RUNNER_TEMP/notes.txt - gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/* + gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$RELEASE_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/* announce: needs: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fd5a4f..0095b9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable Darc release changes should be summarized here. ## Unreleased +- Show GitHub Release titles as tags, such as `v0.1.6`, while preserving dated changelog headings. - Narrow internal Rust storage APIs so SQLite schema details are no longer exposed outside the storage crate. ## [0.1.5] - 2026-05-11