Skip to content

Commit 9c212cb

Browse files
authored
Merge branch 'stapi-spec:main' into 99-datetimeinterval-pydantic-model
2 parents 3b2d167 + 70ee999 commit 9c212cb

5 files changed

Lines changed: 12 additions & 35 deletions

File tree

.github/workflows/release.yaml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -44,30 +44,3 @@ jobs:
4444
- uses: pypa/gh-action-pypi-publish@release/v1
4545
with:
4646
packages-dir: ${{ needs.package_name.outputs.package_name}}/dist
47-
48-
docker:
49-
name: Build Docker Image
50-
runs-on: ubuntu-latest
51-
needs: package_name
52-
if: ${{ needs.package_name.outputs.package_name }} == 'stapi-fastapi'
53-
54-
permissions:
55-
contents: read
56-
packages: write
57-
id-token: write
58-
59-
steps:
60-
- name: Log in to the Container Registry
61-
uses: docker/login-action@v3
62-
with:
63-
registry: ghcr.io
64-
username: ${{ github.actor }}
65-
password: ${{ secrets.GITHUB_TOKEN }}
66-
- name: Set up Docker Buildx
67-
uses: docker/setup-buildx-action@v3
68-
- name: Build and Push Docker Image
69-
uses: docker/build-push-action@v6
70-
with:
71-
push: true
72-
tags: stapi-spec/stapi-fastapi:${{ github.ref_name }}
73-
build-args: PYTHON_VERSION='3.12'

RELEASING.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
1. Determine which package you're releasing
44
2. Determine the next version, following [semantic versioning](https://semver.org/)
55
3. Create a release branch: `git checkout -b release/{package}-v{version}`
6-
4. Update that package's CHANGELOG with:
6+
4. Update that package's `pyproject.toml` with the new version
7+
5. Update that package's CHANGELOG with:
78
- A new header with the new version
89
- A new link at the bottom of the CHANGELOG for that header
9-
5. `git push -u origin`
10-
6. Once approved, merge the PR
11-
7. `git checkout main && git pull && scripts/release {package}`
12-
8. Go to the draft release href provided by the script, update that Github release with information from the CHANGELOG, and publish it
13-
9. Github actions will automatically publish a new PyPI release
10+
6. `git push -u origin`
11+
7. Once approved, merge the PR
12+
8. `git checkout main && git pull && scripts/release {package}`
13+
9. Go to the draft release href provided by the script, update that Github release with information from the CHANGELOG, and publish it
14+
10. Github actions will automatically publish a new PyPI release
1415

1516
> [!IMPORTANT]
1617
> You'll need to set up [.netrc authentication](https://pygithub.readthedocs.io/en/stable/examples/Authentication.html#netrc-authentication) to use `scripts/release`.

stapi-fastapi/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## Unreleased
88

9+
## [0.7.0] - 2025-04-18
10+
911
### Fixed
1012

1113
- Add parameter method as "POST" to create-order link
@@ -120,6 +122,7 @@ Initial release
120122
- Add links `opportunities` and `create-order` to Product
121123
- Add link `create-order` to OpportunityCollection
122124

125+
[0.7.0]: https://github.com/stapi-spec/stapi-fastapi/tree/v0.7.0
123126
[0.6.0]: https://github.com/stapi-spec/stapi-fastapi/tree/v0.6.0
124127
[0.5.0]: https://github.com/stapi-spec/stapi-fastapi/tree/v0.5.0
125128
[0.4.0]: https://github.com/stapi-spec/stapi-fastapi/tree/v0.4.0

stapi-fastapi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stapi-fastapi"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
description = "Sensor Tasking API (STAPI) with FastAPI"
55
authors = [
66
{ name = "Christian Wygoda", email = "christian.wygoda@wygoda.net" },

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)