Skip to content

Commit

Permalink
docs: update release procedure
Browse files Browse the repository at this point in the history
Previously I accidentally tagged a release before building it leading
to an out of date Cargo.lock file.
  • Loading branch information
bootandy committed Jul 17, 2024
1 parent dad88ad commit dbd18f9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ci/how2publish.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
# ----------- To do a release ---------

# ----------- Pre release ---------
# Compare times of runs to check no drastic slow down:
# hyperfine 'target/release/dust /home/andy'
# hyperfine 'dust /home/andy'

# edit version in cargo.toml
# ----------- Release ---------
# inc version in cargo.toml
# cargo build --release
# commit changed files
# merge to master in github

# tag a commit and push (increment version in Cargo.toml first):
# git tag v0.4.5
# git push origin v0.4.5

# cargo publish to put it in crates.io

# To install locally [Do before pushing it]
# Optional: To install locally
#cargo install --path .

0 comments on commit dbd18f9

Please sign in to comment.