ci(release): release workflow + v0.1.2#18
Merged
Merged
Conversation
Two pieces of release automation on tag push (`v*`):
binaries job
cargo build --release --workspace, tar.gz forkd + forkd-controller
as forkd-<tag>-x86_64-linux.tar.gz, attach to an auto-created
GitHub Release together with a SHA256SUMS file. Uses
softprops/action-gh-release, generates release notes from commits
since the previous tag.
docker job
Builds the controller's Dockerfile and pushes to
ghcr.io/deeplethe/forkd-controller:<tag> and :latest.
No extra secrets needed — relies on GITHUB_TOKEN with the
workflow's `packages: write` permission.
Version bumped 0.1.1 → 0.1.2 in workspace Cargo.toml and Python SDK
pyproject.toml. New since 0.1.1: per-tag persistent volumes,
recipes/ directory with five pre-built parents, README ledes with
AI agent fan-out, comparison table fact-check + ✓/✗ unicode marks,
star history chart, monochrome → slate → orange-red logo iteration.
Why 0.1.2 (not 0.2.0): pragmatic — no downstream Rust crate consumers
yet, signature change on `Vm::snapshot_to` is invisible in practice.
v0.2.0 reserved for the next genuinely large surface change (pre-
warmed pool / daemon-side snapshot + volume API).
Not in scope this commit: PyPI publish, crates.io publish, multi-arch
builds. Each needs additional secrets / setup and we don't have
downstream consumers driving the need yet.
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
.github/workflows/release.ymltriggered onv*tag pushes.forkd+forkd-controllerasforkd-<tag>-x86_64-linux.tar.gz, attaches to an auto-createdGitHub Release with
SHA256SUMS.ghcr.io/deeplethe/forkd-controller:<tag>and:latest. Nonew secrets — uses
GITHUB_TOKENwithpackages: write.0.1.1→0.1.2(Cargo workspace + Python SDK).Test plan
v0.1.2on main, watch the release workflowproduce the tarball + GHCR image