Repository navigation
Make a release one pull request merge - #89
Closed
proxymeshai wants to merge 7 commits into
Closed
proxymeshai wants to merge 7 commits into
proxymeshai wants to merge 7 commits into
Conversation
Prepare release opens release/X.Y.Z for a person to merge. Merging publishes to npm and JSR with OIDC, then tags vX.Y.Z from the changelog. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
npm version bumps the package manifests, scripts/release.mjs only moves the changelog and checks it, and the publish workflow calls npm and jsr directly. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
Move the jsr.json bump into release.mjs, check the release version before publish, and stop telling the owner to require Release check. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
A push to main always runs lookup. publish and github-release run only after a release pull request from this repository. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
Publish uses OIDC without a deployment environment. RELEASING.md tells the owner to leave the npm trusted publisher environment field blank. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
Owner setup step 1 says to verify the existing publisher first and only replace it when workflow or environment differs. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
Remove npm, JSR, and secret steps from RELEASING.md; trusted publishing is already configured. Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.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.
Summary
Releasing is one pull request merge. Prepare release bumps
package.jsonandpackage-lock.jsonwithnpm version, setsjsr.jsonwithscripts/release.mjs bump, moves the changelog, and runs the release checks before it pushesrelease/X.Y.Z. Release check repeats those checks on pull requests intomain. Merging publishes withnpm publish --provenance --access publicandnpx --yes jsr@0.14.3 publish, thengh release vieworgh release createtagsvX.Y.Z. Trusted publishing on npm and JSR is unchanged.scripts/release.mjsresolves a version, bumpsjsr.json, moves the changelog section, prints the notes, and checks the tree. Tagsv-0.2.0throughv-0.4.0stay as they are.No open
release/X.Y.Zpull request. Closed, unmerged PR #70 (release/1.0.0, package version still 0.3.0) would fail Release check if it were reopened.Repository settings