Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@ Shopify employees get this through `dev up`. External contributors can copy
`.env.example` to `.env`, fill in local storefront values, then run
`scripts/setup_storefront_env` from the repo root.

## Release notes

The Release package workflow prepends `.github/RELEASE_TEMPLATE.md` to GitHub's
generated release notes. Before publishing a draft release, complete the
breaking, additive, and behaviour change sections, including focused code diffs
where they help consumers understand the change or migrate. Keep `None.` for
sections that do not apply. The generated list of included pull requests and
contributors remains below the curated sections.

---

## Swift (`platforms/swift/`)
Expand Down
29 changes: 29 additions & 0 deletions .github/RELEASE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## Breaking changes

<!--
List consumer-facing breaking changes first. For each change, explain the
migration and include a focused before/after code diff. Replace "None." when
breaking changes are present.
-->

None.

## Additive changes

<!--
List new APIs and capabilities that do not require consumer migration. Include
focused code examples or diffs where they help consumers adopt the change.
Replace "None." when additive changes are present.
-->

None.

## Behaviour changes

<!--
List other consumer-visible behaviour changes, fixes, and deprecations. Include
focused code examples or diffs where useful. Replace "None." when behaviour
changes are present.
-->

None.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,14 @@ jobs:
run: |
set -euo pipefail

args=("$TAG" --target "$GITHUB_SHA" --title "$RELEASE_TITLE" --generate-notes)
RELEASE_NOTES_TEMPLATE="$(cat .github/RELEASE_TEMPLATE.md)"
args=(
"$TAG"
--target "$GITHUB_SHA"
--title "$RELEASE_TITLE"
--notes "$RELEASE_NOTES_TEMPLATE"
--generate-notes
)
if [ "$DRAFT" = "true" ]; then
args+=(--draft)
fi
Expand Down
Loading