Skip to content

ci: align release workflows with unified tag-push trigger#35

Merged
montfort merged 1 commit intomainfrom
ci/align-release-workflows
Apr 2, 2026
Merged

ci: align release workflows with unified tag-push trigger#35
montfort merged 1 commit intomainfrom
ci/align-release-workflows

Conversation

@montfort
Copy link
Copy Markdown
Contributor

@montfort montfort commented Apr 2, 2026

Summary

  • Framework workflow: Added version verification (dist-manifest.yml vs tag), workflow_dispatch for manual re-runs, and idempotent release creation (create if missing, upload with --clobber if exists). Fixes the fw-4.0.0 duplicate release error.
  • CLI workflow: Changed trigger from release: published to push: tags: cli-*, eliminating the need to manually create releases before CI runs. Same idempotent pattern as framework.
  • CLAUDE.md: Updated release procedures to reflect the simplified flow (just push a tag, CI does the rest). Added missing footer files to framework bump checklist.

Unified release flow (both components)

  1. Bump version + merge to main
  2. git tag <prefix>-X.Y.Z && git push origin <prefix>-X.Y.Z
  3. CI automatically creates release + uploads assets

Test plan

  • Push fw-4.1.0 tag → verify framework release is created with ZIP
  • Push cli-3.0.0 tag → verify CLI release is created with 4 binaries
  • Re-run via workflow_dispatch → verify --clobber uploads without error

🤖 Generated with Claude Code

Both workflows now follow the same pattern:
- Trigger on tag push (fw-* or cli-*) + workflow_dispatch for re-runs
- Verify version in source (dist-manifest.yml / Cargo.toml) matches tag
- Create release automatically if it doesn't exist, or upload assets
  with --clobber if it does (fixes fw-4.0.0 duplicate release error)

Framework workflow gains: version verification, workflow_dispatch,
idempotent release creation.

CLI workflow changes: trigger moved from release:published to tag push,
removing the need to manually create releases before CI runs.

Updated CLAUDE.md release procedures to reflect the simplified flow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@montfort montfort merged commit f1dd621 into main Apr 2, 2026
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 2, 2026

CLA assistant check
All committers have signed the CLA.

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