1 parent 30fa469 commit 97d7c3eCopy full SHA for 97d7c3e
1 file changed
justfile
@@ -2,6 +2,14 @@
2
version:
3
gitversion-rs -v FullSemVer
4
5
+# Build with CARGO_PKG_VERSION_PRE injected from gitversion-rs
6
+build:
7
+ gitversion-rs --exec "cargo build --release"
8
+
9
+# Build and install to ~/.cargo/bin with CARGO_PKG_VERSION_PRE injected
10
+install:
11
+ gitversion-rs --exec "cargo install --path . --locked"
12
13
# Dry-run: show what cargo-release would do without making changes
14
check level="patch":
15
cargo release {{level}}
0 commit comments