Skip to content

ci(release): automate version management in GitHub Actions#13

Merged
flexiondotorg merged 3 commits intomainfrom
release
Mar 21, 2026
Merged

ci(release): automate version management in GitHub Actions#13
flexiondotorg merged 3 commits intomainfrom
release

Conversation

@flexiondotorg
Copy link
Copy Markdown
Member

Description

  • Add automatic version setting from git tags in builder workflow
  • Remove manual version bumping and commit logic from justfile
  • Transfer release automation responsibility to CI pipeline

Additional Context

This automates the release process, eliminating local version management steps and ensuring consistency across all releases.

- Add automatic version setting from git tags in builder workflow
- Remove manual version bumping and commit logic from justfile
- Transfer release automation responsibility to CI pipeline

This automates the release process, eliminating local version management
steps and ensuring consistency across all releases.

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/builder.yml">

<violation number="1" location=".github/workflows/builder.yml:173">
P2: The version-bump commit step is not idempotent; no-op runs can fail and block tag release publication.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

- Add conditional check comparing package.json version with release tag
- Strip 'v' prefix from GITHUB_REF_NAME for consistent version
  comparison
- Skip npm version step if versions already match

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/builder.yml">

<violation number="1" location=".github/workflows/builder.yml:135">
P1: The new `${GITHUB_REF_NAME#v}` expansion is shell-specific and will break the Windows matrix build unless this step explicitly uses bash.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
@flexiondotorg flexiondotorg merged commit 7f343fb into main Mar 21, 2026
10 checks passed
@flexiondotorg flexiondotorg deleted the release branch March 21, 2026 23:52
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