To create a new release for the project:
- Make sure the version in
cargo.toml
is set correctly (so version info is correctly embedded in the binary once we have such a feature). - Create a tag with the same version as specified in the
cargo.toml
. - Build binaries in
release
mode for all supported targets.- Currently supported targets:
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl (static build)
- Currently supported targets:
- Rename the resulting binaries (or copy them and then rename them), so the name
is
zstor_v2-${arch}-{os}
, i.e. add thetarget
spec, but drop thevendor
segment - Push the tag to github if this hasn't happened yet, and create a full release from this tag.
- Add release notes, and upload the binaries as assets.
- Optionally but preferably bump the project version in cargo.toml in preparation for the next release.