Skip to content

Commit

Permalink
Fix cargo release to work well with the new workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Jul 4, 2023
1 parent ffbdf86 commit bfd8234
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion fints-institute-db-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords.workspace = true
categories.workspace = true

[dependencies]
fints-institute-db = { path = "../fints-institute-db" }
fints-institute-db = { path = "../fints-institute-db", version = "1" }

iban_validate.workspace = true
serde_json.workspace = true
Expand Down
1 change: 1 addition & 0 deletions fints-institute-db-cli/release.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tag = false
11 changes: 11 additions & 0 deletions fints-institute-db/release.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
tag-prefix = ""
tag-message = "Release {{crate_name}} version {{version}}"
sign-commit = true
sign-tag = true
pre-release-replacements = [
{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 -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate"},
{file="../CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/svenstaro/fints-institute-db/compare/{{tag_name}}...HEAD", exactly=1},
]
9 changes: 0 additions & 9 deletions release.toml

This file was deleted.

0 comments on commit bfd8234

Please sign in to comment.