- Commit message for release changelog changes should always be the release version number (e.g.,
v2.1.5).
When creating PRs for a release, always create two:
- Against
develop: title should beMerge branch '<branchname>' into develop - Against
main: title should beRelease steampipe-postgres-fdw v<version>
- Create a git tag matching the version (e.g.,
v2.1.5) on the release branch commit. - Push the tag to origin. This triggers the Build Draft Release workflow (
.github/workflows/buildimage.yml). - The workflow builds the FDW shared library for all four platforms:
- Darwin x86_64 (
macos-15-intel) - Darwin ARM64 (
macos-latest) - Linux x86_64 (
ubuntu-22.04) - Linux ARM64 (
ubuntu-22.04-arm)
- Darwin x86_64 (
- On success, it creates a draft release on GitHub with all build artifacts.
- Verify all build jobs pass before proceeding.
- Trigger the Publish FDW Image workflow (
.github/workflows/publish.yml) manually viaworkflow_dispatch.- Branch:
develop - Input
release: the version tag (e.g.,v2.1.5)
- Branch:
- This workflow downloads the draft release assets and pushes the FDW image to
ghcr.io/turbot/steampipe/fdw:<version>. - Non-RC versions are also tagged as
latest.
- Push a temporary test tag (e.g.,
v0.0.0-test-runner) from the branch with the workflow change. - Verify all build jobs pass.
- Clean up: delete the test tag (
git push origin --delete <tag>) and the draft release (gh release delete <tag> --yes).