Skip to content

Commit 7fb1c87

Browse files
authored
docs: update releasing to be much simpler (#899)
Closes #814
1 parent a2f1918 commit 7fb1c87

File tree

11 files changed

+9
-77
lines changed

11 files changed

+9
-77
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ This monorepo contains several crates:
6363
| [stac-server](./crates/server/README.md) | STAC API server with multiple backends | [![docs.rs](https://img.shields.io/docsrs/stac-server?style=flat-square)](https://docs.rs/stac-server/latest/stac_server/) <br> [![Crates.io](https://img.shields.io/crates/v/stac-server?style=flat-square)](https://crates.io/crates/stac-server) |
6464
| [pgstac](./crates/pgstac/README.md) | Bindings for [pgstac](https://github.com/stac-utils/pgstac) | [![docs.rs](https://img.shields.io/docsrs/pgstac?style=flat-square)](https://docs.rs/pgstac/latest/pgstac/) <br> [![Crates.io](https://img.shields.io/crates/v/pgstac?style=flat-square)](https://crates.io/crates/pgstac) |
6565
| [stac-duckdb](./crates/duckdb/README.md) | Search **stac-geoparquet** with [duckdb](https://duckdb.org/) | [![docs.rs](https://img.shields.io/docsrs/stac-duckdb?style=flat-square)](https://docs.rs/stac-duckdb/latest/stac_duckdb/) <br> [![Crates.io](https://img.shields.io/crates/v/stac-duckdb?style=flat-square)](https://crates.io/crates/stac-duckdb) |
66+
| [stac-validate](./crates/validate/README.md) | JSON schema validation | [![docs.rs](https://img.shields.io/docsrs/stac-validate?style=flat-square)](https://docs.rs/stac-validate/latest/stac_validate/) <br> [![Crates.io](https://img.shields.io/crates/v/stac-validate?style=flat-square)](https://crates.io/crates/stac-validate) |
67+
| [stac-wasm](./crates/wasm/README.md) | WebAssembly bindings for Arrow to STAC conversions | [![npm](https://img.shields.io/npm/v/stac-wasm?style=flat-square)](https://www.npmjs.com/package/stac-wasm) |
6668
| [rustac](./crates/cli/README.md) | Command line interface | [![docs.rs](https://img.shields.io/docsrs/rustac?style=flat-square)](https://docs.rs/rustac/latest/rustac/) <br> [![Crates.io](https://img.shields.io/crates/v/rustac?style=flat-square)](https://crates.io/crates/rustac) |
6769

6870
They're all related:

RELEASING.md

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
11
# Releasing
22

3-
## Checklist
3+
We use [release-please](https://github.com/googleapis/release-please) to manage versioning and creating Github releases.
4+
Look for a release [pull request](https://github.com/stac-utils/rustac/pulls) to see what's queued up.
5+
To release, simply merge that pull request, then:
46

5-
1. Determine which package(s) you're releasing.
6-
2. Determine the package's next version.
7-
[cargo-semver-checks](https://github.com/obi1kenobi/cargo-semver-checks) and [cargo-public-api](https://crates.io/crates/cargo-public-api) are handy tools for this.
8-
3. Create a release branch named `release/{package name}-{version}`, e.g. `release/stac-v1.2.3`.
9-
4. Update the package's `Cargo.toml` file accordingly, and update the other packages' `Cargo.toml` if they depend on this package.
10-
5. Scan the package's README for references to version numbers, and update any that are needed.
11-
6. Update the package's CHANGELOG with a new section for the new version. Don't forget to update the links at the bottom, too.
12-
7. If it's a breaking release, search for any deprecated functions that should be removed.
13-
8. Test the release with `cargo release -p {package name}`. By default, this does a dry-run, so it won't actually do anything.
14-
9. Use the normal pull request workflow to merge your branch.
15-
10. Once merged, run `cargo release --execute` to do the release. Use the same `-p` flags as you did during the dry run.
7+
```sh
8+
cargo publish --workspace
9+
```
1610

17-
## After-the-fact releases
18-
19-
Sometimes, the **main** branch has moved on, but you realize that you want to release a version of one of the packages from some previous commit, e.g. before a breaking change.
20-
Follow the above workflow, with the following changes:
21-
22-
- Create your release branch from the point in history where you'd like to release from, not **main**.
23-
- When your release pull request is approved, _don't_ merge it right away. Instead, run `cargo release --execute`. Then, manually merge your release branch into **main** -- you'll probably have to do some careful manual fixes to the CHANGELOGs. After you've merged, just push directly to **main**. This ensures we don't lose the tagged commit via an inadvertent Github rebase-and-merge.
24-
25-
## Semantic versioning and deprecation
26-
27-
All packages in **rustac** follow semantic versioning as best they can.
28-
We do not currently require deprecation before removal, so features may disappear between breaking releases.
29-
This may change in the future as the packages mature.
11+
You may need to `--exclude` or `--include` certain packages, depending on what's changed.

crates/cli/CHANGELOG.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3535
* stac-server bumped from 0.3.2 to 0.4.0
3636
* stac-validate bumped from 0.5.0 to 0.6.0
3737

38-
## [Unreleased]
39-
40-
### Added
41-
42-
- Add `parquet-max-row-group-size` parameter to commands that write parquet files with default value of `150_000` ([#846](https://github.com/stac-utils/rustac/pull/846))
43-
- `--bind` argument to `rustac serve` ([#871](https://github.com/stac-utils/rustac/pull/871))
44-
- Completions ([#874](https://github.com/stac-utils/rustac/pull/874))
45-
4638
## [0.1.2] - 2025-11-14
4739

4840
Update **stac** dependency.

crates/core/CHANGELOG.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3131
* consume a geoparquet writer on close ([#867](https://github.com/stac-utils/rustac/issues/867)) ([bdd95be](https://github.com/stac-utils/rustac/commit/bdd95be8b9a0c64a4179f0d76dd28b39c52f3fef))
3232
* move stac_api crate into stac crate ([#869](https://github.com/stac-utils/rustac/issues/869)) ([d0f7405](https://github.com/stac-utils/rustac/commit/d0f7405a811dd2c3b044404b4a6a48cf07926a89))
3333

34-
## [Unreleased]
35-
36-
### Added
37-
38-
- Add `max_row_group_size` parameter to `geoparquet::WriterBuilder` with default value of `150_000` ([#846](https://github.com/stac-utils/rustac/pull/846))
39-
- An intermediate `WriterEncoder` for writing **stac-geoparquet** ([#863](https://github.com/stac-utils/rustac/pull/863))
40-
- `stac::api` (moved from the `stac_api` crate) ([#869](https://github.com/stac-utils/rustac/pull/869))
41-
42-
### Changed
43-
44-
- Consume a geoparquet writer on close ([#867](https://github.com/stac-utils/rustac/pull/867))
45-
46-
### Fixed
47-
48-
- Allow writing stac-geoparquet with no assets ([#882](https://github.com/stac-utils/rustac/pull/882))
49-
5034
## [0.14.0] - 2025-11-14
5135

5236
### Changed

crates/duckdb/CHANGELOG.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2929
* dev-dependencies
3030
* stac-validate bumped from 0.5.0 to 0.6.0
3131

32-
## [Unreleased]
33-
34-
### Changed
35-
36-
- Search into an iterator (breaking) ([#853](https://github.com/stac-utils/rustac/pull/853))
37-
38-
### Fixed
39-
40-
- Remove `filename` column by default ([#855](https://github.com/stac-utils/rustac/pull/855))
41-
4232
## [0.2.2] - 2025-11-14
4333

4434
Update **stac** dependency.

crates/extensions/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1313
* dependencies
1414
* stac bumped from 0.14.0 to 0.15.0
1515

16-
## [Unreleased]
17-
1816
## [0.1.1] - 2025-11-14
1917

2018
Update **stac** dependency.

crates/io/CHANGELOG.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3636
* dependencies
3737
* stac bumped from 0.14.0 to 0.15.0
3838

39-
## [Unreleased]
40-
41-
### Added
42-
43-
- Writing **stac-geoparquet** to an object store ([#863](https://github.com/stac-utils/rustac/pull/863))
44-
- API client ([#864](https://github.com/stac-utils/rustac/pull/864))
45-
4639
## [0.1.2] - 2025-11-14
4740

4841
Update **stac** dependency.

crates/pgstac/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2828
* dependencies
2929
* stac bumped from 0.14.0 to 0.15.0
3030

31-
## [Unreleased]
32-
3331
## [0.3.2] - 2025-11-14
3432

3533
Update **stac** dependency.

crates/server/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3030
* stac bumped from 0.14.0 to 0.15.0
3131
* stac-duckdb bumped from 0.2.0 to 0.3.0
3232

33-
## [Unreleased]
34-
3533
## [0.3.6] - 2025-11-14
3634

3735
Update **stac** dependency.

crates/validate/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2525
* dev-dependencies
2626
* stac-io bumped from 0.1.0 to 0.2.0
2727

28-
## [Unreleased]
29-
3028
## [0.5.1] - 2025-11-14
3129

3230
Update **stac** dependency.

0 commit comments

Comments
 (0)