Skip to content

Commit

Permalink
add release.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
cormacrelf committed Sep 10, 2021
1 parent 73fbf44 commit f7bf915
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions release.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# to release:
# cargo install cargo-release
# cargo release patch (or minor, major, alpha, beta, rc, vX.X.X)

# this is run after pre-release-replacements
# this script will prepend using conventional-commits to CHANGELOG.md
pre-release-hook = [ "./pre-release.sh" ]

# pass --all-features through to `cargo publish` for its pre-flight validation
enable-all-features = true

[[pre-release-replacements]]
file="README.md"
search="edtf = \"\\d.*"
max = 1
replace="{{crate_name}} = \"{{version}}\""

0 comments on commit f7bf915

Please sign in to comment.