Skip to content

Add tag-driven release process (midge pattern) - #5

Merged
sidick merged 1 commit into
mainfrom
release-process
Sep 2, 2026
Merged

Add tag-driven release process (midge pattern)#5
sidick merged 1 commit into
mainfrom
release-process

Conversation

@sidick

@sidick sidick commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • src/version.h is now the single source of truth for the version and the $VER build string, replacing the hand-edited literal in main.c
  • scripts/verify-version.sh gates a release tag against src/version.h and devsoak.readme before release.yml hands off to sidick/amiga-workflows' aminet-release.yml
  • Makefile gains a dist target: rebuilds the binary, greps it for the exact $VER string, packages devsoak/devsoak.quirks/README.md/LICENSE into dist/devsoak.lha
  • Adds the missing LICENSE (BSD 2-Clause) and a Releases section in README.md

Test plan

  • make all builds clean via docker (stefanreinauer/amiga-gcc)
  • strings devsoak | grep '$VER' shows the correct embedded version string
  • m68k-amigaos-nm devsoak | grep -i utility empty (KS1.3 guard still holds)
  • scripts/verify-version.sh v0.1 passes; a mismatched tag fails correctly
  • make dist (Lhasa override) confirms binary rebuild + $VER grep + file staging all work; real lha build/create verified against midge's identical recipe

🤖 Generated with Claude Code

https://claude.ai/code/session_01EbDNgMg5EyWbEBRUvAoqP4

src/version.h is now the single source of truth for the version and the
$VER build string (DEVSOAK_VERSTAG), replacing the hand-edited literal in
main.c. scripts/verify-version.sh gates a release tag against
src/version.h and devsoak.readme (including a date-bump check) before
.github/workflows/release.yml hands off to sidick/amiga-workflows'
aminet-release.yml for the GitHub Release + gated Aminet (dev/misc)
publish. Makefile gains a `dist` target that rebuilds the binary, greps
it for the exact $VER string to catch a stale build, and packages
devsoak/devsoak.quirks/README.md/LICENSE into dist/devsoak.lha via a
pinned lha built from source (same rationale as midge: distro lha
packages are extract-only or don't compile).

Also adds the missing LICENSE (BSD 2-Clause, matching devsoak.readme's
existing licence claim) and a Releases section in README.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EbDNgMg5EyWbEBRUvAoqP4
@sidick
sidick enabled auto-merge (squash) September 2, 2026 13:11
@sidick
sidick disabled auto-merge September 2, 2026 13:15
@sidick
sidick merged commit 421ff24 into main Sep 2, 2026
3 checks passed
@sidick
sidick deleted the release-process branch September 2, 2026 13:15
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