chore: set npm package version to 0.0.4#37
Merged
Conversation
Match the latest GitHub Release (v0.0.4) that has downloadable binaries so the bootstrap publish is a plain `npm publish` (no `npm version` step) and the package's postinstall resolves `v0.0.4` assets. CI still stamps the version from the release tag on future releases, so this stays current automatically.
There was a problem hiding this comment.
Pull request overview
This PR bumps the @volcano.dev/cli npm package version from the 0.0.0 placeholder to 0.0.4, the latest stable GitHub Release with downloadable binaries. This enables a frictionless one-time manual bootstrap publish (npm publish) without tripping the prepublishOnly 0.0.0 guard, after which CI (npm version <tag>) keeps the value current on every future release.
Changes:
- Set
package.jsonversionto0.0.4(was0.0.0).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sets the npm package version to
0.0.4(was the0.0.0placeholder) so@volcano.dev/clican be bootstrap-published cleanly.Why
0.0.4is the latest stable GitHub Release with downloadable binaries, so:npm publish— nonpm versionstep needed (which would otherwise trip theprepublishOnly0.0.0 guard, andnpm version v0.0.4would fail anyway since thev0.0.4git tag already exists);postinstallresolves thev0.0.4release assets (verified present).CI still runs
npm version <tag>from the release tag on every future release, so this value stays current automatically — committing0.0.4just makes the one-time bootstrap frictionless.Bootstrap flow (after this merges)
npm publish # token auth, scoped-public via publishConfig.accessThen configure the OIDC trusted publisher (org
Kong, repovolcano-cli, workflowpublish-cli.yml, allownpm publish) and dropcontinue-on-errorfrom the publish step. Subsequent stablevX.Y.Ztags publish automatically.Verification
package.jsonvalid;npm pack --dry-run→volcano.dev-cli-0.0.4.tgz(6 files)v0.0.4releaseSHA256SUMS+ binaries return 206 (downloadable)prepublishOnly0.0.0 guard retained