Skip to content

Coherently handle the publish and the version entries in each package#1167

Merged
saulecabrera merged 1 commit into
bytecodealliance:mainfrom
saulecabrera:explicitly-set-publishable-packages
Apr 6, 2026
Merged

Coherently handle the publish and the version entries in each package#1167
saulecabrera merged 1 commit into
bytecodealliance:mainfrom
saulecabrera:explicitly-set-publishable-packages

Conversation

@saulecabrera

Copy link
Copy Markdown
Member

This is the first of a series of patches to improve how we handle version updates and releases. Note that my intention is not change our current mechanism, but to improve it so that there are less manual steps along the way, ideally making it less error prone.

This commit set the publish key in each package to false and sets the version to 0.0.0, to explicitly the mark the package as not publishable, as documented in
https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.

The main motivation for this change is to prevent certain packages from being published by mistake, either manually or in light of a future publishing mechanism.

@saulecabrera
saulecabrera requested a review from jeffcharles April 3, 2026 18:28
…kage

This commit set the `publish` key in each package to `false` and sets
the version to `0.0.0`, to explicitly the mark the package as not
publishable, as documented in
https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.

The main motivation for this change is to prevent certain packages
from being published by mistake, either manually or in light of a
future publishing mechanism.
@saulecabrera
saulecabrera force-pushed the explicitly-set-publishable-packages branch from cb0fb9e to d1c2310 Compare April 3, 2026 18:34

@jeffcharles jeffcharles left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding these!

@saulecabrera
saulecabrera merged commit 70ad1a8 into bytecodealliance:main Apr 6, 2026
4 checks passed
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.

2 participants