Repository navigation
ci: release crates from a release tag - #524
Merged
Merged
Conversation
json_output only pipes stdin when the input is `-`, so the child can't exit before the write and fail with a broken pipe. The missing-input test compares errors after joining miette's wrapped lines, which wrap the longer Windows OS error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y3gNNefj3Dtn8WRLNzapGr
nlopes
force-pushed
the
ci/automatic-releases
branch
from
November 28, 2026 12:33
003bd27 to
e7b26dd
Compare
Pushing a `release-*` tag on a commit on main releases every crate (acdc-cli, acdc-lsp, acdc-mcp, acdc-editor-wasm) whose `<crate>-vX.Y.Z` tag doesn't exist yet. release.yml runs the full CI and TCK on that commit, builds each crate for five targets with taiki-e/upload-rust-binary-action, and publishes each crate's GitHub release, with notes from its changelog, once CI, TCK and all of its builds pass. Changes to release.yml build everything without publishing. This replaces release-cli.yml, release-lsp.yml and release-editor-wasm.yml. The CLI tests also run on Windows and macOS now, since release builds don't run tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y3gNNefj3Dtn8WRLNzapGr
nlopes
force-pushed
the
ci/automatic-releases
branch
from
November 28, 2026 12:40
e7b26dd to
889c90c
Compare
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.
Releases
acdc-cli,acdc-lsp,acdc-mcpandacdc-editor-wasmfrom a release tag, with one hand-written workflow.How to release
[Unreleased]entries into## [X.Y.Z] - YYYY-MM-DD, then push tomain.mainand push the tag:release.ymlthen releases every one of those crates whose<crate>-vX.Y.Ztag doesn't exist yet.acdc-parserisn't part of it; it's still published by hand.What
release.ymldoesci.ymlwith every path filter on) and the TCK, on the tagged commit.main, or if there's nothing to release;git ls-remoteerrors, instead of releasing everything.taiki-e/upload-rust-binary-action:wasm-packtarball..sha256is present and intact.gh release create <crate>-vX.Y.Z --target <sha>with notes from the crate's changelog.Pull requests and pushes to
mainthat changerelease.ymlrun all of this as a dry run: everything builds, andpublishprints thegh release createcommand instead of running it.Archives are
<crate>-<target>.tar.gz(.zipon Windows) with<crate>-<target>.sha256. Each unpacks to<crate>-<target>/with the binary,LICENSE, the README andCHANGELOG.md; the CLI also ships the two font licenses.Also in this PR
release-cli.yml,release-lsp.ymlandrelease-editor-wasm.ymlare replaced.json_outputonly pipes stdin when it parses from stdin, which fixes a broken-pipe flake.The first release tag ships
acdc-mcp-v0.1.0. The cli 0.3.0, lsp 0.3.0 and wasm 0.6.0 tags already exist, so those crates ship at their next bump.🤖 Generated with Claude Code
https://claude.ai/code/session_01Y3gNNefj3Dtn8WRLNzapGr