Skip to content

fix: add provenance config, fix staged publishing version check#81

Merged
theoephraim merged 4 commits into
mainfrom
fix/staged-publish-and-provenance
May 25, 2026
Merged

fix: add provenance config, fix staged publishing version check#81
theoephraim merged 4 commits into
mainfrom
fix/staged-publish-and-provenance

Conversation

@theoephraim
Copy link
Copy Markdown
Member

Summary

  • Add provenance boolean to PublishConfig — first-class option to attach Sigstore provenance attestation (replaces publishArgs: ["--provenance"])
  • Fix npm staged publishing minimum version: npm stage was introduced in npm 11.15.0 (not 11.5.1 which is the OIDC minimum)
  • Throw hard errors (not warnings) when provenance or npmStaged are used with a non-npm publishManager
  • Throw clear error with upgrade instructions when npm version is too old for staged publishing
  • Add npm install -g npm@latest to release workflow to ensure npm >= 11.15.0
  • Enable provenance: true in bumpy's own .bumpy/_config.json
  • Update docs with new option and corrected version requirements

Test plan

  • All 6 publish-pipeline tests pass
  • Typecheck passes
  • Merge → version PR → merge version PR → staged publish with provenance succeeds

…idate config

- Add `provenance` boolean to PublishConfig (adds --provenance flag to npm publish)
- Fix npm staged publishing minimum version: requires >= 11.15.0 (not 11.5.1)
- Throw hard errors when provenance/npmStaged used with non-npm publishManager
- Throw clear error with upgrade instructions when npm version too old
- Add npm upgrade step to release workflow for staged publishing
- Enable provenance in bumpy's own config
- Update docs with provenance option and correct version requirements
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

bumpy-frog

The changes in this PR will be included in the next version bump.

patch Patch releases

  • @varlock/bumpy 1.9.1 → 1.9.2

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

@theoephraim theoephraim merged commit fa75b0b into main May 25, 2026
2 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.

1 participant