Skip to content

fix(ci): guard release-official against branch-name dispatch (v7.0.3)#7

Merged
synle merged 1 commit intomainfrom
fix/release-official-tag-guard
May 11, 2026
Merged

fix(ci): guard release-official against branch-name dispatch (v7.0.3)#7
synle merged 1 commit intomainfrom
fix/release-official-tag-guard

Conversation

@synle
Copy link
Copy Markdown
Owner

@synle synle commented May 11, 2026

Summary

  • Replace version: ${{ inputs.tag || github.ref_name }} with a tag-only fallback
  • Add a fail-fast "Validate resolved tag" step that aborts before the draft is created
  • Bump to 7.0.3

Why

This is the repo where the latent bug actually shipped — three v7.0.x dispatches rolled into a single vmain release. The new expression + guard make it impossible to ship a non-semver tag.

Test plan

  • CI green
  • After merge, dispatch Release Official from main → produces v7.0.3 (not vmain)
  • Existing vmain release is deleted as part of the cleanup

🤖 Generated with Claude Code

Resolve the release tag explicitly from inputs.tag → refs/tags/v* →
src-tauri/tauri.conf.json#version. Drop the github.ref_name fallback
which on a workflow_dispatch from main resolved to 'main' and produced
a 'vmain' release (2026-05-10). Add a fail-fast guard step that
validates the resolved tag is strict semver BEFORE the shared
begin-release action creates the draft.

Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
@synle synle merged commit 0a92867 into main May 11, 2026
5 checks passed
@synle synle deleted the fix/release-official-tag-guard branch May 11, 2026 02:53
@github-actions
Copy link
Copy Markdown

Build Artifacts

Platform Size Download
Windows (x64) 1.9 MB Download
macOS (Apple Silicon ARM64) 2.5 MB Download
macOS (Intel x64) 2.7 MB Download
Linux (x64) 81.6 MB Download
coverage-reports 0.1 MB Download

View full run

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