Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 433 Bytes

RELEASING.md

File metadata and controls

25 lines (15 loc) · 433 Bytes

Releasing

Set variables:

$ export VERSION=X.Y.Z
$ export GPG_KEY=EA456E8BAF0109429583EED83578F667F2F3A5FA

Update version numbers:

$ vim -p Cargo.toml
$ cargo update

Update changelog:

$ vim CHANGELOG.md

Commit & tag:

$ git commit -S${GPG_KEY} -m "Release v${VERSION}"
$ git tag -s -u ${GPG_KEY} v${VERSION} -m "Version ${VERSION}"

Publish:

$ cargo publish
$ git push && git push --tags