1# Releasing 2 3Run linting: 4 5 $ cargo clean && cargo clippy 6 7Set variables: 8 9 $ export VERSION=X.Y.Z 10 $ export GPG_KEY=EA456E8BAF0109429583EED83578F667F2F3A5FA 11 12Update version numbers: 13 14 $ vim Cargo.toml 15 $ cargo update -p tealdeer 16 17Update changelog: 18 19 $ vim CHANGELOG.md 20 21Commit & tag: 22 23 $ git commit -S${GPG_KEY} -m "Release v${VERSION}" 24 $ git tag -s -u ${GPG_KEY} v${VERSION} -m "Version ${VERSION}" 25 26Publish: 27 28 $ cargo publish 29 $ git push && git push --tags 30 31Create release binaries: 32 33 $ ./release-build.sh 34