Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Bumps the installer's npm version, opens and merges the PR, then pushes a router tag to publish @weave-os/router and @workweave/router.
64% 86%+23 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
Not used yet
The installer ships as @weave-os/router (and the legacy @workweave/router mirror) from install/npm/. Publishing is triggered by pushing a router-vX.Y.Z tag; .github/workflows/publish_npm.yml then runs the installer tests, checks the tag equals install/npm/package.json's version, and publishes both names via npm OIDC. There is no npm token to handle.
Order matters: bump merged to main first, tag second. The workflow rejects tags not reachable from origin/main or whose version differs from package.json.
Find the current version and confirm the changes are on main.
git fetch origin main --tags -q
git show origin/main:install/npm/package.json | grep '"version"'
git tag -l 'router-v*' | sort -V | tail -3
npm view @weave-os/router version
The tag, package.json and npm should agree; if they don't, stop and investigate. Check git log <last-tag>..origin/main -- install/ to confirm there is something to ship. Default to a patch bump unless the user says otherwise.
Open a bump PR from a branch off origin/main that changes only the version in install/npm/package.json:
git checkout -b <user>/bump-npm-X.Y.Z origin/main
sed -i '' 's/"version": "OLD"/"version": "NEW"/' install/npm/package.json # GNU sed: drop the ''
git commit -am "chore(install): bump npm package to NEW"
git push -u origin HEAD
gh pr create --base main --title "chore(install): bump npm package to NEW" --body "<what installer changes this ships>"
Follow the repo's commit/PR attribution rules, and never put customer or org names in the title or body (public repo).
Wait for checks and merge (gh pr checks <n> --watch, then gh pr merge <n> --squash, or --auto if checks are still pending). Branch protection applies, so don't bypass it.
Tag the merge commit and push the tag. Use the squash commit on main, not your branch head:
git fetch origin main -q
git tag -a -m "router-vNEW" router-vNEW origin/main # confirm `git show origin/main:install/npm/package.json` is NEW first
git push origin router-vNEW # annotated (-a -m) so it works with tag.gpgSign/message-required configs
Pushing the tag publishes to a public registry and can't be undone (npm versions can't be republished). Confirm with the user first unless they already asked for the publish.
Watch the workflow and verify.
gh run list --workflow publish_npm.yml --limit 1
Next to this one in the catalogue, plus more from the same author.