Skip to content

fix(release): align versions and immutable release packaging - #20

Merged
samzong merged 3 commits into
mainfrom
fix/release-baseline
Nov 25, 2026
Merged

samzong merged 3 commits into
mainfrom
fix/release-baseline

Conversation

@samzong

@samzong samzong commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

📝 Description

Release tags now pass a SemVer and tracked Info.plist gate before Xcode runs. DMGs include the full version in their filenames. Release creation and draft publication use the exact tag. Prereleases stay outside the stable latest channel, and published releases cannot be overwritten by this workflow.

Development builds use commit-specific Actions artifacts with 90-day retention. Durable development releases use the same SemVer prerelease path as other releases. Historical channel tags and releases remain unchanged. This avoids automatic version selection and keeps development snapshots out of release discovery.

The Xcode app target now reads the tracked Info.plist instead of generating a separate version. The Makefile no longer overrides its version during builds. The legacy Homebrew workflow and dispatch are removed. Asset references use the new names. Both DMGs include a universal CLI. Packaging verifies each app architecture and both CLI architectures.

🔄 Change Type

  • 🐛 Bug Fix

📱 Platform Impact

  • Build System

🔗 Related Issues

Closes #18.
Closes #19.
Closes #21.

🧪 Testing

  • Development Build run 45592652938 passes: release contracts, Swift CLI tests, both Xcode archives, universal CLI build, DMG verification, and artifact upload.
  • ruby scripts/verify-release.rb executes the workflow shell with isolated Git and GitHub CLI recorders. SemVer, plist parity, tag scope, prerelease flags, and DMG naming mutations each make it fail; restored source passes.
  • Both downloaded CI DMGs contain app version 0.2.1, build 2, and a CLI with x86_64 and arm64 slices. Native and Intel-mode cf --help both pass. The app binaries match their DMG architectures.
  • An arm64-only CLI fails the Intel gate. Replacing the Intel app with an arm64 app fails the app gate. The final CI run passes all four architecture gates with Xcode 26.3.
  • actionlint, plist parsing, and git diff --check pass. Local release CLI build and cf --help pass.
  • Removed a duplicate placeholder test class that prevents Swift test compilation. The remaining placeholder test does not establish application behavior.

The baseline audit reports matching workflow gates and prerelease handling, with no legacy Homebrew workflow. Its only finding is historical: the immutable v0.2.1 commit contains plist version 1.0. The current plist contains 0.2.1.

Unverified: real GitHub Release publication, a fresh app installation, and GUI launch. Publication is outside this change's execution scope. CLI recorders establish command selection and flags, not GitHub server behavior. This machine has no Xcode; CI establishes the app build and Swift test results.

The centralized tap's asset templates need the corresponding filename change before the next release. A separate, authorized tap PR will update those templates.

📋 Checklist

  • Scope reviewed locally.
  • Commit follows Conventional Commits and includes sign-off.
  • Release instructions and asset references updated.

🎯 Release Notes Impact

  • Bug Fixes

Signed-off-by: samzong <samzong.lu@gmail.com>
Signed-off-by: samzong <samzong.lu@gmail.com>
Signed-off-by: samzong <samzong.lu@gmail.com>
@samzong
samzong marked this pull request as ready for review November 25, 2026 10:23
@samzong
samzong merged commit 3e2260e into main Nov 25, 2026
2 checks passed
@samzong
samzong deleted the fix/release-baseline branch November 25, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

1 participant