1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

auto replace version in azalea/src/lib.rs

This commit is contained in:
Ubuntu 2022-12-09 15:31:59 +00:00
parent 89c29b7a19
commit d11d413a89
2 changed files with 12 additions and 9 deletions

View file

@ -6,7 +6,10 @@ name = "azalea"
repository = "https://github.com/mat-1/azalea/tree/main/azalea" repository = "https://github.com/mat-1/azalea/tree/main/azalea"
version = "0.4.0" version = "0.4.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package.metadata.release]
pre-release-replacements = [
{ file = "src/lib.rs", search = "//! `azalea = \"[a-z0-9\\.-]+\"`", replace = "//! `azalea = \"{{version}}\"`" },
]
[dependencies] [dependencies]
anyhow = "^1.0.65" anyhow = "^1.0.65"

View file

@ -15,7 +15,7 @@
//! Latest bleeding-edge version: //! Latest bleeding-edge version:
//! `azalea = { git="https://github.com/mat-1/Cargo.toml" }`\ //! `azalea = { git="https://github.com/mat-1/Cargo.toml" }`\
//! Latest "stable" release: //! Latest "stable" release:
//! `azalea = "0.6"` //! `azalea = "0.4"`
//! //!
//! ## Optimization //! ## Optimization
//! //!