Skip to content

Commit

Permalink
chore(release): use precise versions for now
Browse files Browse the repository at this point in the history
  • Loading branch information
loyd committed Sep 29, 2024
1 parent fbfe11c commit 8f83f1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions elfo/release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ pre-release-replacements = [
{prerelease=true, file="../CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{prerelease=true, file="../CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
{prerelease=true, file="../CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\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}}\""},
]

0 comments on commit 8f83f1e

Please sign in to comment.