M8 prep: release workflow + CONTRIBUTING refresh#23
Merged
Conversation
GitHub Actions workflow that fires on `v*` tag push, builds the `dpub` binary for Linux x86_64, macOS arm64 (with --features metal for Whisper GPU), and Windows x86_64, and uploads each artifact to a GitHub Release of the same name. Binaries are NOT signed — macOS notarisation needs Apple Developer credentials which are a maintainer-decision deferred to a follow-up. Until then, macOS users authorise once via System Settings or build from source. CONTRIBUTING.md updated: - Crate list refreshed (epub3-writer, dpub-convert, dpub-validate, dpub-audio, dpub-whisper, dpub-meta, dpub-util are all real crates now; dpub-wasm is the only outstanding one). - MSRV bumped from 1.85+ to 1.88 (matches workspace). - cmake requirement called out (whisper-rs-sys compiles whisper.cpp from source). - New "Releasing" section walks through the tag-driven flow: bump workspace version, rename Unreleased section in CHANGELOG, push tag, verify artifacts. This is M8 infrastructure, not the M8 release itself. The actual 1.0 cut (version bump + CHANGELOG section + tag) is a maintainer decision left for a follow-up. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
M8 (1.0 release) infrastructure — the workflow and docs needed before cutting an actual release. Not the release itself; that's a maintainer decision for a follow-up.
What's in here
`.github/workflows/release.yml` — fires on `v*` tag push. Builds the `dpub` binary for:
Each artefact (`dpub--.tar.gz` or `.zip`) is uploaded to a GitHub Release of the same name as the tag. `workflow_dispatch` trigger included so a release can also be cut manually if a tag already exists.
`CONTRIBUTING.md` — three small fixes:
Out of scope (intentionally)
Test plan