This project consists of two crates which need to be published to crates.io in the correct order. Additionally, there's some steps one's likely to miss when releasing.
-
influxdb/Cargo.toml
andinfluxdb-derive/Cargo.toml
: Bumpedinfluxdb
andinfluxdb-derive
versions to new version number? -
influxdb/Cargo.toml
: Changedinfluxdb
dependency oninfluxdb-derive
to new version number? -
CHANGELOG.md
: Remove all entries from the unreleased section -
CHANGELOG.md
: Add new Section for the new version number with subsectionsAdded
,Changed
andFixed
. -
CHANGELOG.md
: For each commit since the last release commitRelease vX.Y.Z
, added a changelog entry in the correct section linking to the author and PR in this format?([@GithubUserName](https://github.com/GithubUserName) in [#PRNumber](https://github.com/influxdb-rs/influxdb-rust/pull/PRNumber))
-
CHANGELOG.md
: At the bottom, changed the unreleased section link toNEWVERSIONNUMBER...HEAD
and created a new link for the current release? -
influxdb/lib.rs
: Changed the version number mentioned in the doc-comment to the new version number? -
influxdb/lib.rs
: If the release contains any new features that should be mentioned in the Github Readme, are they listed in the doc-comment? -
terminal
: Updated README withcargo readme -r influxdb -t ../README.tpl > README.md
? -
terminal
: Verified there are no errors with clippycargo clippy --all-targets --all-features -- -D warnings
?
git add .
andgit commit -m "Release vX.Y.Z"
git tag vX.Y.Z
git push origin main
andgit push --tags
(cd influxdb-derive/ && cargo publish)
(cd influxdb/ && cargo publish)
- Create a Release in the Github Web UI