Skip to content

Commit 76c0863

Browse files
jgamblinclaude
andcommitted
ci: add release workflow for GitHub Releases
Creates GitHub release on tag push. Runs tests before releasing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 703b1a8 commit 76c0863

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags: ["v*"]
6+
7+
jobs:
8+
release:
9+
runs-on: macos-14
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v5
13+
with:
14+
python-version: "3.12"
15+
- run: pip install -e ".[dev]"
16+
- run: pytest tests/ -v
17+
- name: Create GitHub Release
18+
uses: softprops/action-gh-release@v2
19+
with:
20+
generate_release_notes: true

0 commit comments

Comments
 (0)