Skip to content
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

Fallback to the Unreleased section in changelogs #250

Merged
merged 1 commit into from
May 11, 2023
Merged

Fallback to the Unreleased section in changelogs #250

merged 1 commit into from
May 11, 2023

Conversation

Gankra
Copy link
Member

@Gankra Gankra commented May 10, 2023

parse_changelog supports a special section title of 'Unreleased', which we can default to if we're publishing a prerelease and fail to find any entry for it.

Fixes #145

parse_changelog supports a special section title of 'Unreleased', which we can default
to if we're publishing a prerelease and fail to find any entry for it.

Fixes #145
@Gankra
Copy link
Member Author

Gankra commented May 10, 2023

bubbled to the top of my stack because i just cut 0.1.0-prerelease.1 without a changelog entry which of course broke tests that expect us to always have a changelog entry for cargo-dist. This should make it more reliable/easy to always have a heading (could even make cargo-release auto-add it (example from rust-minidump).

@Gankra
Copy link
Member Author

Gankra commented May 10, 2023

@Gankra Gankra merged commit d388b73 into main May 11, 2023
@Gankra Gankra deleted the unreleased branch May 11, 2023 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Account for the 'Unreleased' section when parsing release notes
1 participant