Repository navigation
ci: release to PyPI with the xhandler-rust core of the same version - #4
Merged
Merged
Conversation
- The package version is the core's (src/xhandler/_core/VERSION): 6.0.0-alpha.1 becomes 6.0.0a1. - make sync CORE=<version> syncs the dist of an xhandler-rust release, checksum verified (hack/core.sh); make sync RUST_REPO=... stays for development. - make verify-core checks that the committed xhandler.wasm is the one xhandler-rust released as its VERSION; CI runs it (a development core only warns). - The release workflow runs on a published release (release-tools creates it): it requires the core of the same version, tests, builds and publishes to PyPI with trusted publishing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tag-versus-VERSION check moves from a Makefile one-liner into core.sh verify-release, next to verify, so the release logic lives in one script that xhandler-go, xhandler-python and xhandler-java share. Co-Authored-By: Claude Opus 5.5 <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.
Part of the coordinated release of xhandler (Rust, Go, Python, Java) from release-tools' new
release-xhandlerworkflow, modeled on konveyor/operator'screate-release: the tag is the version, and a library release carries exactly the core xhandler-rust released as the same version.make sync CORE=<version>syncs thedistof an xhandler-rust release, checking it against the release'sSHA256SUMS(hack/core.sh).make sync RUST_REPO=...stays for development.make verify-corechecks that the committedxhandler.wasmis the one xhandler-rust released as itsVERSION. CI runs it; a development core only warns.make verify-release TAG=vXis what a release requires:VERSIONisXand the wasm matches, strictly. release-tools runs it before tagging, and this repo's release workflow runs it again.release.ymlruns when release-tools publishes the release.It verifies the core, tests, builds and publishes to PyPI with trusted publishing (environment
pypi; it needs a pending publisher on pypi.org).src/xhandler/_core/VERSION, via hatch), so6.0.0-alpha.1becomes6.0.0a1.🤖 Generated with Claude Code