From 112b9c1f8a4e373916a7984c64fe967d18e373c8 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 29 Mar 2021 20:10:47 -0700 Subject: commit release process HOWTO --- extra/HOWTO_release.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extra/HOWTO_release.md diff --git a/extra/HOWTO_release.md b/extra/HOWTO_release.md new file mode 100644 index 0000000..de4a1e8 --- /dev/null +++ b/extra/HOWTO_release.md @@ -0,0 +1,18 @@ + +Reminder of release process (new tagged versions): + +final prep: +- consider running `cargo update` and checking that everything works +- `make lint` and fix anything +- `make fmt` and commit any fixes +- update CHANGELOG and increment version in `Cargo.toml`. `make build` to + update `Cargo.lock`, then commit +- `make test`, `make deb` and ensure build works and is clean +- ensure working directory is *entirely* clean (no "Untracked files" or edits, + even if unrelated to code changes) + +push/tag/etc: +- push to crates.io: `cargo publish` +- create a git tag: `git tag vX.Y.Z -a -s -u bnewbold@archive.org -m "bump version to X.Y.Z"` +- push git and tag: `git push`, `git push --tags` +- upload deb package, eg: `ia upload es-public-proxy-deb ./target/debian/es-public-proxy_X.Y.Z_amd64.deb` -- cgit v1.2.3