Skip to content

Release on push to main when the declared version has no tag yet - #4

Merged
osick merged 1 commit into
mainfrom
claude/knowledge-management-integration-hiuy8y
Sep 17, 2026
Merged

osick merged 1 commit into
mainfrom
claude/knowledge-management-integration-hiuy8y

Conversation

@osick

@osick osick commented Sep 17, 2026

Copy link
Copy Markdown
Owner

Release prep for v0.4.0, second step.

The release workflow added in #3 can only be started by hand (workflow_dispatch). This makes it also run on pushes to main that touch pyproject.toml, docs/releases/**, or the workflow itself. It reads the version from pyproject.toml; if tag v<version> does not exist yet, it creates the tag and the GitHub release, with the title taken from the level-1 heading of docs/releases/v<version>.md and the rest of that file as the body. If the tag already exists it does nothing, so the workflow is idempotent and a version bump plus notes in one pull request is a release.

Merging this pull request pushes to main and triggers the first run, which cuts v0.4.0 ("The Site Archive").

🤖 Generated with Claude Code

https://claude.ai/code/session_011hwnef5pyjkdpQ6deZJYDD


Generated by Claude Code

The release workflow now also runs on pushes to main that touch the
version, the release notes or itself, and creates the tag and GitHub
release for pyproject.toml's version when that tag does not exist.
Manual dispatch stays available. The release title is the level-1
heading of docs/releases/v<version>.md.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011hwnef5pyjkdpQ6deZJYDD
@osick
osick merged commit f4ead19 into main Sep 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants