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

Fix Find+Replace of CHANGELOG on Unreleased links #116

Merged
merged 1 commit into from Apr 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Expand Up @@ -251,9 +251,9 @@ The library is already featureful enough to warrant a higher version number, bum

<!-- next-url -->

[Unreleased]: https://github.com/mikaelmello/inquire/compare/v0.6.0...HEAD
[unreleased]: https://github.com/mikaelmello/inquire/compare/v0.5.3...v0.6.0
[unreleased]: https://github.com/mikaelmello/inquire/compare/v0.5.2...v0.5.3
[unreleased]: https://github.com/mikaelmello/inquire/compare/v0.6.0...HEAD
[0.6.0]: https://github.com/mikaelmello/inquire/compare/v0.5.3...v0.6.0
[0.5.3]: https://github.com/mikaelmello/inquire/compare/v0.5.2...v0.5.3
[0.5.2]: https://github.com/mikaelmello/inquire/compare/v0.5.1...v0.5.2
[0.5.1]: https://github.com/mikaelmello/inquire/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/mikaelmello/inquire/compare/v0.4.0...v0.5.0
Expand Down
4 changes: 2 additions & 2 deletions release.toml
Expand Up @@ -10,9 +10,9 @@ pre-release-replacements = [
{file="CRATE_README.md", search="inquire = \".*\"", replace="{{crate_name}} = \"{{version}}\""},
{file="CRATE_README.md", search="inquire = \\{ version = \"[\\.0-9]*\"", replace="{{crate_name}} = { version = \"{{version}}\""},

{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="<!-- ReleaseDate -->", replace="- {{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->\n", replace="<!-- next-header -->\n\n## [Unreleased] <!-- ReleaseDate -->\n\n- No changes since the latest release below.\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->\n", replace="<!-- next-url -->\n\n[Unreleased]: https://github.com/mikaelmello/inquire/compare/{{tag_name}}...HEAD", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->\n", replace="<!-- next-url -->\n\n[unreleased]: https://github.com/mikaelmello/inquire/compare/{{tag_name}}...HEAD", exactly=1},
]