Skip to content

Commit

Permalink
Release 0.2.0-alpha.2 (rerun-io#1254)
Browse files Browse the repository at this point in the history
* Bump version to 0.2.0-alpha.2

* Add script to publish crates

* Improve RELEASES.md

* Tweak RELEASES.md again
  • Loading branch information
emilk authored Feb 13, 2023
1 parent d2b440f commit a26c31d
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 82 deletions.
56 changes: 28 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,30 @@ include = ["../../LICENSE-APACHE", "../../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rerun-io/rerun"
rust-version = "1.67"
version = "0.2.0-alpha.1"
version = "0.2.0-alpha.2"

[workspace.dependencies]
re_analytics = { path = "crates/re_analytics", version = "0.2.0-alpha.1" }
re_arrow_store = { path = "crates/re_arrow_store", version = "0.2.0-alpha.1" }
re_data_store = { path = "crates/re_data_store", version = "0.2.0-alpha.1" }
re_error = { path = "crates/re_error", version = "0.2.0-alpha.1" }
re_format = { path = "crates/re_format", version = "0.2.0-alpha.1" }
re_log = { path = "crates/re_log", version = "0.2.0-alpha.1" }
re_log_types = { path = "crates/re_log_types", version = "0.2.0-alpha.1" }
re_memory = { path = "crates/re_memory", version = "0.2.0-alpha.1" }
re_query = { path = "crates/re_query", version = "0.2.0-alpha.1" }
re_renderer = { path = "crates/re_renderer", version = "0.2.0-alpha.1" }
re_sdk = { path = "crates/re_sdk", version = "0.2.0-alpha.1" }
re_sdk_comms = { path = "crates/re_sdk_comms", version = "0.2.0-alpha.1" }
re_smart_channel = { path = "crates/re_smart_channel", version = "0.2.0-alpha.1" }
re_string_interner = { path = "crates/re_string_interner", version = "0.2.0-alpha.1" }
re_tensor_ops = { path = "crates/re_tensor_ops", version = "0.2.0-alpha.1" }
re_tuid = { path = "crates/re_tuid", version = "0.2.0-alpha.1" }
re_ui = { path = "crates/re_ui", version = "0.2.0-alpha.1" }
re_viewer = { path = "crates/re_viewer", version = "0.2.0-alpha.1" }
re_web_server = { path = "crates/re_web_server", version = "0.2.0-alpha.1" }
re_ws_comms = { path = "crates/re_ws_comms", version = "0.2.0-alpha.1" }
rerun = { path = "crates/rerun", version = "0.2.0-alpha.1" }
re_analytics = { path = "crates/re_analytics", version = "0.2.0-alpha.2" }
re_arrow_store = { path = "crates/re_arrow_store", version = "0.2.0-alpha.2" }
re_data_store = { path = "crates/re_data_store", version = "0.2.0-alpha.2" }
re_error = { path = "crates/re_error", version = "0.2.0-alpha.2" }
re_format = { path = "crates/re_format", version = "0.2.0-alpha.2" }
re_log = { path = "crates/re_log", version = "0.2.0-alpha.2" }
re_log_types = { path = "crates/re_log_types", version = "0.2.0-alpha.2" }
re_memory = { path = "crates/re_memory", version = "0.2.0-alpha.2" }
re_query = { path = "crates/re_query", version = "0.2.0-alpha.2" }
re_renderer = { path = "crates/re_renderer", version = "0.2.0-alpha.2" }
re_sdk = { path = "crates/re_sdk", version = "0.2.0-alpha.2" }
re_sdk_comms = { path = "crates/re_sdk_comms", version = "0.2.0-alpha.2" }
re_smart_channel = { path = "crates/re_smart_channel", version = "0.2.0-alpha.2" }
re_string_interner = { path = "crates/re_string_interner", version = "0.2.0-alpha.2" }
re_tensor_ops = { path = "crates/re_tensor_ops", version = "0.2.0-alpha.2" }
re_tuid = { path = "crates/re_tuid", version = "0.2.0-alpha.2" }
re_ui = { path = "crates/re_ui", version = "0.2.0-alpha.2" }
re_viewer = { path = "crates/re_viewer", version = "0.2.0-alpha.2" }
re_web_server = { path = "crates/re_web_server", version = "0.2.0-alpha.2" }
re_ws_comms = { path = "crates/re_ws_comms", version = "0.2.0-alpha.2" }
rerun = { path = "crates/rerun", version = "0.2.0-alpha.2" }

anyhow = "1.0"
arrow2 = "0.16"
Expand Down
37 changes: 5 additions & 32 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,17 @@ Copy this checklist to the the PR description, go through it from top to bottom,
* [ ] A gif showing a major new feature
* [ ] Test the branch ([see below](#testing-a-release))
* [ ] Open the PR up for review
* [ ] `./scripts/publish_crates.sh --dry-run`
* [ ] Bump version number in root `Cargo.toml`.
* [ ] Update `CHANGELOG.md` with the new version number and the summary and the gif
* [ ] Make sure to it includes instructions for handling any breaking changes
* [ ] Get the PR reviewed
* [ ] Check that CI is green
* [ ] Publish new Rust crates
* [ ] `git tag -a v0.x.y -m 'Release 0.x.y - summary' && git push --tags``
* [ ] Unless this is an alpha release:
* `git pull --tags && git tag -d latest && git tag -a latest -m 'Latest release' && git push origin latest --force`
* [ ] Merge PR
* [ ] `git tag -a v0.x.y -m 'Release 0.x.y - summary'`
* [ ] `git tag -d latest && git tag -a latest -m 'Latest release'` (unless this is an alpha pre-release)
* [ ] `git push && git push --tags`
* [ ] Wait for CI to build release artifacts and publish them on GitHub and PyPI. Verify this at https://github.com/rerun-io/rerun/releases/new.
* [ ] Wait for documentation to build: https://docs.rs/releases/queue
* [ ] Post on:
Expand Down Expand Up @@ -100,32 +101,4 @@ First login as https://crates.io/users/rerunio with and API key you get from Emi
cargo login $API_KEY
```



TODO(emilk): make a script for the below:
```sh
# IMPORTANT! we need to build an optimized .wasm that will be bundled when we publish re_web_server:
cargo build --release -p re_web_server
cargo publish -p re_log
cargo publish -p re_error
cargo publish -p re_format
cargo publish -p re_string_interner
cargo publish -p re_analytics
cargo publish -p re_memory
cargo publish -p re_tuid
cargo publish -p re_log_types
cargo publish -p re_smart_channel
cargo publish -p re_tensor_ops
cargo publish -p re_ui
cargo publish -p re_arrow_store
cargo publish -p re_data_store
cargo publish -p re_query
cargo publish -p re_sdk_comms
cargo publish -p re_ws_comms
RERUN_IS_PUBLISHING=yes cargo publish -p re_renderer
RERUN_IS_PUBLISHING=yes cargo publish -p re_web_server
cargo publish -p re_viewer
cargo publish -p re_sdk
cargo publish -p rerun
cargo publish -p re_int_histogram
```
./scripts/publish_crates.sh --execute
Loading

0 comments on commit a26c31d

Please sign in to comment.