Skip to content

Commit dbd18f9

Browse files
committed
docs: update release procedure
Previously I accidentally tagged a release before building it leading to an out of date Cargo.lock file.
1 parent dad88ad commit dbd18f9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ci/how2publish.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
# ----------- To do a release ---------
2+
3+
# ----------- Pre release ---------
24
# Compare times of runs to check no drastic slow down:
35
# hyperfine 'target/release/dust /home/andy'
46
# hyperfine 'dust /home/andy'
57

6-
# edit version in cargo.toml
8+
# ----------- Release ---------
9+
# inc version in cargo.toml
710
# cargo build --release
811
# commit changed files
12+
# merge to master in github
13+
914
# tag a commit and push (increment version in Cargo.toml first):
1015
# git tag v0.4.5
1116
# git push origin v0.4.5
1217

1318
# cargo publish to put it in crates.io
1419

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

0 commit comments

Comments
 (0)