Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
1. Determine which package you're releasing
2. Determine the next version, following [semantic versioning](https://semver.org/)
3. Create a release branch: `git checkout -b release/{package}-v{version}`
4. Update that package's CHANGELOG with:
4. Update that package's `pyproject.toml` with the new version
5. Update that package's CHANGELOG with:
- A new header with the new version
- A new link at the bottom of the CHANGELOG for that header
5. `git push -u origin`
6. Once approved, merge the PR
7. `git checkout main && git pull && scripts/release {package}`
8. Go to the draft release href provided by the script, update that Github release with information from the CHANGELOG, and publish it
9. Github actions will automatically publish a new PyPI release
6. `git push -u origin`
7. Once approved, merge the PR
8. `git checkout main && git pull && scripts/release {package}`
9. Go to the draft release href provided by the script, update that Github release with information from the CHANGELOG, and publish it
10. Github actions will automatically publish a new PyPI release

> [!IMPORTANT]
> You'll need to set up [.netrc authentication](https://pygithub.readthedocs.io/en/stable/examples/Authentication.html#netrc-authentication) to use `scripts/release`.
Expand Down
3 changes: 3 additions & 0 deletions stapi-fastapi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a

## Unreleased

## [0.7.0] - 2025-04-18

### Fixed

- Add parameter method as "POST" to create-order link
Expand Down Expand Up @@ -120,6 +122,7 @@ Initial release
- Add links `opportunities` and `create-order` to Product
- Add link `create-order` to OpportunityCollection

[0.7.0]: https://github.com/stapi-spec/stapi-fastapi/tree/v0.7.0
[0.6.0]: https://github.com/stapi-spec/stapi-fastapi/tree/v0.6.0
[0.5.0]: https://github.com/stapi-spec/stapi-fastapi/tree/v0.5.0
[0.4.0]: https://github.com/stapi-spec/stapi-fastapi/tree/v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion stapi-fastapi/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "stapi-fastapi"
version = "0.6.0"
version = "0.7.0"
description = "Sensor Tasking API (STAPI) with FastAPI"
authors = [
{ name = "Christian Wygoda", email = "[email protected]" },
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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