diff --git a/elfo/release.toml b/elfo/release.toml index b3a3424..02d1be2 100644 --- a/elfo/release.toml +++ b/elfo/release.toml @@ -6,4 +6,9 @@ pre-release-replacements = [ {prerelease=true, file="../CHANGELOG.md", search="ReleaseDate", replace="{{date}}"}, {prerelease=true, file="../CHANGELOG.md", search="", replace="\n\n## [Unreleased] - ReleaseDate", exactly=1}, {prerelease=true, file="../CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/elfo-rs/elfo/compare/{{tag_name}}...HEAD", exactly=1}, + + # Use precise versions (temporary for alpha releases!). TODO: remove once v0.2 is ready. + # This is because even if `elfo = "=0.2.0-alpha.X"` is used, `cargo` fetches latest versions of crates (e.g. `elfo-core`). + {prerelease=true, file="../elfo/Cargo.toml", search="^(.+version) = \"0.2.0-alpha.*?\"", replace="$1 = \"={{version}}\""}, + {prerelease=true, file="../elfo-macros/Cargo.toml", search="^(.+version) = \"0.2.0-alpha.*?\"", replace="$1 = \"={{version}}\""}, ]