mirror of
https://github.com/bootandy/dust.git
synced 2025-12-05 20:40:11 -08:00
docs: update release procedure
Previously I accidentally tagged a release before building it leading to an out of date Cargo.lock file.
This commit is contained in:
@@ -1,16 +1,21 @@
|
|||||||
# ----------- To do a release ---------
|
# ----------- To do a release ---------
|
||||||
|
|
||||||
|
# ----------- Pre release ---------
|
||||||
# Compare times of runs to check no drastic slow down:
|
# Compare times of runs to check no drastic slow down:
|
||||||
# hyperfine 'target/release/dust /home/andy'
|
# hyperfine 'target/release/dust /home/andy'
|
||||||
# hyperfine 'dust /home/andy'
|
# hyperfine 'dust /home/andy'
|
||||||
|
|
||||||
# edit version in cargo.toml
|
# ----------- Release ---------
|
||||||
|
# inc version in cargo.toml
|
||||||
# cargo build --release
|
# cargo build --release
|
||||||
# commit changed files
|
# commit changed files
|
||||||
|
# merge to master in github
|
||||||
|
|
||||||
# tag a commit and push (increment version in Cargo.toml first):
|
# tag a commit and push (increment version in Cargo.toml first):
|
||||||
# git tag v0.4.5
|
# git tag v0.4.5
|
||||||
# git push origin v0.4.5
|
# git push origin v0.4.5
|
||||||
|
|
||||||
# cargo publish to put it in crates.io
|
# cargo publish to put it in crates.io
|
||||||
|
|
||||||
# To install locally [Do before pushing it]
|
# Optional: To install locally
|
||||||
#cargo install --path .
|
#cargo install --path .
|
||||||
|
|||||||
Reference in New Issue
Block a user