Skip to content

Commit

Permalink
Fix paths to CHANGELOG in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Oct 18, 2023
1 parent 72ad2c2 commit cc8ec7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions zspell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,23 @@ shared-version = true

# Can't run replacements at workspace root. Need to use this "hacky" sort of way.
[[package.metadata.release.pre-release-replacements]]
file = "../../CHANGELOG.md"
file = "../CHANGELOG.md"
search = "Unreleased"
replace = "{{version}}"

[[package.metadata.release.pre-release-replacements]]
file = "../../CHANGELOG.md"
file = "../CHANGELOG.md"
search = "\\.\\.\\.HEAD"
replace = "...{{tag_name}}"
exactly = 1

[[package.metadata.release.pre-release-replacements]]
file = "../../CHANGELOG.md"
file = "../CHANGELOG.md"
search = "ReleaseDate"
replace = "{{date}}"

[[package.metadata.release.pre-release-replacements]]
file = "../../CHANGELOG.md"
file = "../CHANGELOG.md"
search = "<!-- next-header -->"
replace = """\
<!-- next-header -->\n\n\
Expand All @@ -108,7 +108,7 @@ replace = """\
exactly = 1

[[package.metadata.release.pre-release-replacements]]
file = "../../CHANGELOG.md"
file = "../CHANGELOG.md"
search = "<!-- next-url -->"
replace = """\
<!-- next-url -->\n\
Expand Down

0 comments on commit cc8ec7d

Please sign in to comment.