This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/avro-rs.git
commit dd80f7c7f044ea4a105ba0272f897fc24ed57a22 Author: Martin Tzvetanov Grigorov <[email protected]> AuthorDate: Thu Nov 13 14:54:31 2025 +0200 Update the RELEASE steps --- RELEASE.md | 62 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index e5a32da..9482d6a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -4,9 +4,11 @@ ``` # in avro-rs Git clone git switch main && git pull --rebase -git archive HEAD -o apache-avro-rs-0.19.0-RC0.tgz -git tag -s rel/release-0.19.0-rc0 -m "Avro-rs 0.19.0 RC0 release." -git push origin rel/release-0.19.0-rc0 +# update the version in Cargo.toml files to 0.21.0 +git commit -am "Update version to 0.21.0" +git tag -s rel/release-0.21.0-rc0 -m "Avro-rs 0.21.0 RC0 release." +git archive HEAD -o apache-avro-rs-0.21.0-RC0.tgz +git push origin rel/release-0.21.0-rc0 ``` Note: make sure your GPG key is in https://dist.apache.org/repos/dist/release/avro/KEYS @@ -16,46 +18,49 @@ Note: make sure your GPG key is in https://dist.apache.org/repos/dist/release/av # checkout the 'dev' dist SVN repo svn co https://dist.apache.org/repos/dist/dev/avro/ dev-avro cd dev-avro/avro-rs -cp .../apache-avro-rs-0.19.0-RC0.tgz . -sha256sum apache-avro-rs-0.19.0-RC0.tgz > apache-avro-rs-0.19.0-RC0.tgz.sha256 -gpg --armor --output apache-avro-rs-0.19.0-RC0.tgz.asc --detach-sig apache-avro-rs-0.19.0-RC0.tgz -svn add apache-avro-rs-0.19.0-RC0.tgz apache-avro-rs-0.19.0-RC0.tgz.sha256 apache-avro-rs-0.19.0-RC0.tgz.asc -svn ci -m "Add sources of avro-rs 0.19.0 for voting" +mkdir 0.21.0 && cd 0.21.0 +cp .../apache-avro-rs-0.21.0-RC0.tgz . +sha256sum apache-avro-rs-0.21.0-RC0.tgz > apache-avro-rs-0.21.0-RC0.tgz.sha256 +gpg --armor --output apache-avro-rs-0.21.0-RC0.tgz.asc --detach-sig apache-avro-rs-0.21.0-RC0.tgz +cd .. +svn add 0.21.0 +svn ci -m "Add sources of avro-rs 0.21.0 for voting" ``` ## Send an email with similar content to [email protected]: ``` -[VOTE] Release Apache Avro-rs 0.19.0 +[VOTE] Release Apache Avro Rust 0.21.0 Hi everyone, I'd like to propose the following RC0 to be released as the official -Apache Avro-rs 0.19.0 release. +Apache Avro Rust 0.21.0 release. The commit id is https://github.com/apache/avro-rs/commit/9cb265d29351d3d0454bba30662f0066e04c171b -* This corresponds to the tag: rel/release-0.19.0-rc0 -* https://github.com/apache/avro-rs/releases/tag/rel%2Frelease-0.19.0-rc0 +* This corresponds to the tag: rel/release-0.21.0-rc0 +* https://github.com/apache/avro-rs/releases/tag/rel%2Frelease-0.21.0-rc0 The release tarball, signature, and checksums are here (revision r75797) -* https://dist.apache.org/repos/dist/dev/avro/avro-rs/0.19.0/ +* https://dist.apache.org/repos/dist/dev/avro/avro-rs/0.21.0/ You can find the KEYS file here: * https://dist.apache.org/repos/dist/release/avro/KEYS This release includes 17 issues: * https://github.com/apache/avro-rs/issues?q=is%3Aissue%20state%3Aclosed +* https://github.com/apache/avro-rs/releases/tag/untagged-48f08e126ce819116c4b The easiest way to test the release is: -* mkdir 0.19.0 && cd 0.19.0 -* wget -q https://dist.apache.org/repos/dist/dev/avro/avro-rs/0.19.0/apache-avro-rs-0.19.0-RC0.tgz -* tar xvf apache-avro-rs-0.19.0-RC0.tgz +* mkdir 0.21.0 && cd 0.21.0 +* wget -q https://dist.apache.org/repos/dist/dev/avro/avro-rs/0.21.0/apache-avro-rs-0.21.0-RC0.tgz +* tar xvf apache-avro-rs-0.21.0-RC0.tgz * cargo fmt --check && cargo test -* (optional) Update your project Cargo.toml to use `apache_avro = { path = "/path/to/0.19.0/avro" } and test your application +* (optional) Update your project Cargo.toml to use `apache_avro = { path = "/path/to/0.21.0/avro" } and test your application Please download, verify, and test. This vote will remain open for at least 72 hours. -[ ] +1 Release this as Apache Avro-rs 0.19.0 +[ ] +1 Release this as Apache Avro-rs 0.21.0 [ ] 0 [ ] -1 Do not release this because... @@ -68,13 +73,13 @@ Martin ## After a successful vote ``` -git checkout -b release-0.19.0-rc0 rel/release-0.19.0-rc0 +git checkout -b release-0.21.0-rc0 rel/release-0.21.0-rc0 cargo publish -p apache-avro-derive cargo publish -p apache-avro-test-helper cargo publish -p apache-avro -git tag -s rel/release-0.19.0 -m "Apache Avro Rust SDK 0.19.0 release." +git tag -s rel/release-0.21.0 -m "Apache Avro Rust SDK 0.21.0 release." git push --tags ``` @@ -82,21 +87,21 @@ git push --tags ## Create a Github release 1. Go to https://github.com/apache/avro-rs/releases/new -2. Select `rel/release-0.19.0` as the release tag and `auto` as the previous one (or select one manually) +2. Select `rel/release-0.21.0` as the release tag and `auto` as the previous one (or select one manually) 3. Click `Generate release notes` to populate the body -4. Type a `Release title`, e.g. `Apache Avro Rust SDK 0.19.0 release` +4. Type a `Release title`, e.g. `Apache Avro Rust SDK 0.21.0 release` 5. Make sure `Set as the latest release` checkbox is checked 6. Press the `Publish release` button ## Announce the release 1. Send en email to [email protected] and [email protected] with the following title and body: -1.1. Title: `[ANNOUNCE] Apache Avro Rust SDK 0.19.0 release` +1.1. Title: `[ANNOUNCE] Apache Avro Rust SDK 0.21.0 release` 1.2. Body: ``` Hello! -On behalf of the Apache Avro team I am happy to announce the release of Apache Avro Rust SDK version 0.19.0! +On behalf of the Apache Avro team I am happy to announce the release of Apache Avro Rust SDK version 0.21.0! It is available at Crates.io: - https://crates.io/crates/apache-avro @@ -114,10 +119,9 @@ New Contributors: * contributor 1 * contributor 2 -Full Changelog: https://github.com/apache/avro-rs/compare/rel/release-0.18.0...rel/release-0.19.0 -``` +https://github.com/apache/avro-rs/releases/tag/rel%2Frelease-0.21.0``` The items could be taken from the body of the Github release ignoring the Dependabot updates: -1. Copy the body of the Github release and paste it in a temporary file, e.g. `/tmp/v0.19.0` -2. `cat /tmp/v0.19.0 | grep -v dependabot` -3. Paste the output in the email body \ No newline at end of file +1. Copy the body of the Github release and paste it in a temporary file, e.g. `/tmp/v0.21.0` +2. `cat /tmp/v0.21.0 | grep -v dependabot` +3. Paste the output in the email body
