Skip to content

Add .github/release.yml to automate drafting release notes #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

simonjbeaumont
Copy link
Collaborator

Motivation

We want to provide consistent and comprehensive release notes when making
a release. Github supports generating draft release notes based on labels
attached to PRs to make this simpler.

Modifications

  • Add .github/release.yml with SemVer based release notes sections.

Result

When creating a release, Github should populate the release notes based on the
PRs that have been merged since the last release and group them based on their
labels.

Test Plan

None.

Reference

https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes

@simonjbeaumont simonjbeaumont added the semver/none No version bump required. label Jun 8, 2023
@simonjbeaumont simonjbeaumont marked this pull request as ready for review June 8, 2023 16:19
@simonjbeaumont simonjbeaumont enabled auto-merge (squash) June 8, 2023 16:21
@simonjbeaumont simonjbeaumont disabled auto-merge June 8, 2023 16:26
@simonjbeaumont simonjbeaumont merged commit 8d8aa43 into apple:main Jun 8, 2023
czechboy0 added a commit to apple/swift-openapi-generator that referenced this pull request Jun 8, 2023
[Releases] Add a release config

### Motivation

Make making releases easier and more standardized.

### Modifications

Like apple/swift-openapi-runtime#14, but for the generator repo.

Adds the config file, which is then used by GitHub when drafting release notes.

### Result

Our next release notes will be drafted automitically, saving us time.

### Test Plan

Already did this for runtime: https://github.com/apple/swift-openapi-runtime/releases/tag/0.1.1


Reviewed by: simonjbeaumont

Builds:
     ✔︎ pull request validation (5.8) - Build finished. 
     ✔︎ pull request validation (5.9) - Build finished. 
     ✔︎ pull request validation (nightly) - Build finished. 
     ✔︎ pull request validation (soundness) - Build finished. 

#53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants