Skip to content

Commit

Permalink
update cargo-release script to new repository structure
Browse files Browse the repository at this point in the history
  • Loading branch information
hansihe authored and azdlowry committed Jul 11, 2018
1 parent 9b2714c commit d929a49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rustler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ lazy_static = "1.0"
[package.metadata.release]

[[package.metadata.release.pre-release-replacements]]
file = "rustler_mix/mix.exs"
file = "../rustler_mix/mix.exs"
search = "version: \"[^\"]+\", # Auto updated by cargo release, do not modify this line."
replace = "version: \"{{version}}\", # Auto updated by cargo release, do not modify this line."

[[package.metadata.release.pre-release-replacements]]
file = "rustler_mix/lib/rustler.ex"
file = "../rustler_mix/lib/rustler.ex"
search = "def rustler_version, do: \"[^\"]+\""
replace = "def rustler_version, do: \"{{version}}\""

[[package.metadata.release.pre-release-replacements]]
file = "rustler_codegen/Cargo.toml"
file = "../rustler_codegen/Cargo.toml"
search = "# rustler_codegen version\nversion = \"[^\"]+\""
replace = "# rustler_codegen version\nversion = \"{{version}}\""

0 comments on commit d929a49

Please sign in to comment.