commit 8c3f52e91a837a91917070421dbf6238139b08c7
parent 835506edbf1f79692ccab59779cc5895dfa974fd
Author: Andrew D. Laack <andrew@laack.co>
Date: Tue, 17 Feb 2026 05:50:14 +0000
Add GitHub Release workflow on tag push (#92)
* Add GitHub Release workflow on tag push
* Use --generate-notes for GitHub Releases
Diffstat:
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/publish-github-release.yml b/.github/workflows/publish-github-release.yml
@@ -0,0 +1,24 @@
+name: Publish / GitHub Release
+
+on:
+ push:
+ tags:
+ - "v*"
+
+permissions:
+ contents: write
+
+jobs:
+ github-release:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: Create GitHub Release
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ gh release create "$GITHUB_REF_NAME" \
+ --title "$GITHUB_REF_NAME" \
+ --generate-notes
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
@@ -66,6 +66,7 @@ Current workflows:
- `vet.yml` (`Vet`, job: `vet`) — Self-review via vet on PRs
- `vet-agentic.yml` (`Vet (Agentic)`, job: `vet`) — Agentic self-review via vet on PRs
- `publish-pypi.yml` (`Publish / PyPI`, job: `pypi`) — Build and publish to PyPI on tag push
+- `publish-github-release.yml` (`Publish / GitHub Release`, job: `github-release`) — Create a GitHub Release on tag push
### Continuous Deployment