Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

on:
push:
tags: ["v*"]

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Create the GitHub Release from the changelog
env:
GH_TOKEN: ${{ github.token }}
TAG: ${{ github.ref_name }}
run: |
version="${TAG#v}"
awk -v heading="## [$version]" 'index($0, heading) == 1 { found = 1; next } /^## \[/ { found = 0 } found' CHANGELOG.md > notes.md
if gh release view "$TAG" > /dev/null 2>&1; then
echo "$TAG already has a release"
else
gh release create "$TAG" --title "$TAG" --notes-file notes.md --verify-tag
fi
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ You need Python 3.10 or newer. `make lint` also needs Claude Code. The dev conta
- Keep each one to a single change, with tests.
- For new behavior, link the Claude Code doc it follows.
- Update `CHANGELOG.md`, `ROADMAP.md` and docs when relevant.
- Releases are automatic: a merge that changes what users install becomes a new version once its `CHANGELOG.md` lines are in. Docs and CI changes wait for the next one.

## Working with AI agents
Agents are welcome. `CLAUDE.md` and `AGENTS.md` have the project's instructions, and `.claude/commands/` has common tasks. Say in your PR that an agent helped, and review the result yourself before submitting. You're responsible for what you submit.
Expand Down
Loading