Skip to content

feat(release): publish zunit binaries from tags#5

Merged
ss-o merged 1 commit into
mainfrom
feature-4
May 19, 2026
Merged

feat(release): publish zunit binaries from tags#5
ss-o merged 1 commit into
mainfrom
feature-4

Conversation

@ss-o
Copy link
Copy Markdown
Member

@ss-o ss-o commented May 18, 2026

Summary

  • add a semantic-tag GitHub release workflow for the built zunit executable
  • add a small release-tag guard that fails if the tag version and zunit --version diverge
  • include release regression tests and extend Zsh syntax checks to cover release helper scripts

Release model

This keeps main as validation-only. User-facing binaries are published only when a maintainer pushes a semantic tag such as v0.8.2.

The release asset is named zunit, matching the existing generated consumer workflow download shape.

Closes #4.

Verification

  • RED: PATH="$tmpbin:$PATH" ./zunit --tap tests/release.zunit failed before the release helper/workflow existed
  • PATH="$tmpbin:$PATH" ./zunit --tap tests → 112/112 passing
  • scripts/verify-release-tag.zsh v0.8.2 ./zunit
  • find src scripts -type f -name '*.zsh' -print | sort | while read -r file; do zsh -n "$file" || exit 1; done
  • zsh -n build.zsh
  • zsh -n zunit.zsh-completion
  • git diff --check
  • ruby -e 'require "yaml"; ARGV.each { |f| YAML.load_file(f); puts "ok #{f}" }' .github/workflows/release.yml .github/workflows/zsh-n.yml

@ss-o ss-o marked this pull request as ready for review May 19, 2026 02:05
Copilot AI review requested due to automatic review settings May 19, 2026 02:05
@ss-o ss-o merged commit e009e5b into main May 19, 2026
2 of 3 checks passed
@ss-o ss-o deleted the feature-4 branch May 19, 2026 02:06
@ss-o ss-o review requested due to automatic review settings May 19, 2026 02:29
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.

Add semantic-tag release workflow for zunit binaries

1 participant