This is a checklist for releasing a new version of stac-fastapi.
- Determine the next version. We currently do not have published versioning guidelines, but there is some text on the subject here: radiantearth/stac-spec#1184.
- Create a release branch named
release/vX.Y.Z
, whereX.Y.Z
is the new version. - Search and replace all instances of the current version number with the new version.
- Update CHANGES.md for the new version. Add the appropriate header, and update the links at the bottom of the file.
- Audit CHANGES.md for completeness and accuracy. Also, ensure that the changes in this version are appropriate for the version number change (i.e. if you're making breaking changes, you should be increasing the
MAJOR
version number). - (optional) If you have permissions, run
scripts/publish --test
to test your PyPI publish. If successful, the published packages will be available on http://test.pypy.org. - Push your release branch, create a PR, and get approval.
- Once the PR is merged, create a new (annotated, signed) tag on the appropriate commit. Name the tag
X.Y.Z
, and includevX.Y.Z
as its annotation message. - Push your tag to Github, which will kick off the publishing workflow.
- Create a new release targeting the new tag, and use the "Generate release notes" feature to populate the description. Publish the release and mark it as the latest.
- Publicize the release via the appropriate social channels, including Gitter.