Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 26, 2025

Releases currently require manual version tagging. This adds automatic patch version tagging on pushes to main, triggering the existing release workflow.

Changes

  • .github/workflows/cd.yml: New auto-tag job that:

    • Runs after tests pass on main branch pushes only
    • Increments patch version (v1.0.0v1.0.1) or starts at v0.1.0
    • Creates and pushes annotated tag, triggering the release job
    • Skips on tag pushes to prevent recursion
  • CONTRIBUTING.md: Documents the automated release process and manual major/minor bump procedure

Workflow

graph LR
    A[Push to main] --> B[CI tests]
    B --> C[auto-tag job]
    C --> D[Tag push]
    D --> E[Docker build]
    E --> F[GitHub release]
Loading

Manual tags for major/minor versions bypass auto-tagging and go directly to release.

Original prompt

This section details on the original issue you should resolve

<issue_title>[FEATURE] pushes to main should result in a new release</issue_title>
<issue_description>## Problem Statement
Currently to create a new release involves manual steps, namely the tagging of the current version with an incremented version number

Proposed Solution

Can we update the push to main GitHub workflow to include the tagging of the release so that the release process starts.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits October 26, 2025 21:54
Co-authored-by: chrisw-dev <68233262+chrisw-dev@users.noreply.github.com>
Co-authored-by: chrisw-dev <68233262+chrisw-dev@users.noreply.github.com>
Copilot AI changed the title [WIP] Add automatic tagging for new releases on push to main Automate version tagging on push to main Oct 26, 2025
Copilot AI requested a review from chrisw-dev October 26, 2025 21:58
@chrisw-dev chrisw-dev marked this pull request as ready for review October 26, 2025 22:16
@chrisw-dev chrisw-dev merged commit 3e7b56b into main Oct 26, 2025
2 checks passed
@chrisw-dev chrisw-dev deleted the copilot/automate-release-tagging branch October 26, 2025 22:20
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.

[FEATURE] pushes to main should result in a new release

2 participants