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:
parent
89c29b7a19
commit
d11d413a89
2 changed files with 12 additions and 9 deletions
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
//!
|
//!
|
||||||
|
|
Loading…
Add table
Reference in a new issue