Skip to content

Automatically tag and release new versions on merge to main - #114

Open
huppd wants to merge 1 commit into
mainfrom
add_github_actions_for_releases
Open

Automatically tag and release new versions on merge to main#114
huppd wants to merge 1 commit into
mainfrom
add_github_actions_for_releases

Conversation

@huppd

@huppd huppd commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Previously, finishing a release required manually creating and pushing a git tag after the release PR was merged. This adds CI automation for that step:

  • New tag-release.yml workflow: triggers on push to main when pyproject.toml changes. If the version's vX.Y tag doesn't already exist, it creates and pushes the tag, publishes a GitHub Release with auto-generated notes, and explicitly dispatches the Docker build workflow for that tag.

  • deploy-container-for-release.yml: added a workflow_dispatch trigger so it can be invoked directly (tags pushed via the default GITHUB_TOKEN don't trigger other workflows, so this dispatch is needed rather than relying on the tag-push trigger alone).

  • README / scripts/release.sh: updated to reflect that tagging and releasing after merge is now automatic instead of a manual step.

Testing
YAML validated locally; not yet exercised end-to-end on GitHub Actions (needs a real merge to main with a version bump).


This PR were developed with AI assistance (Claude Code). Please review accordingly rather than assuming sole human authorship.

@huppd huppd changed the title Add github actions to automatically tag new version Automatically tag and release new versions on merge to main Aug 7, 2026
@huppd
huppd marked this pull request as ready for review August 7, 2026 08:18
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.

1 participant