Skip to content

Commit d03674a

Browse files
mariomeyerclaude
andcommitted
fix(ci): run npm pkg fix before publish and lowercase repo URL
npm auto-corrects repository.url to git+https format on publish, which mismatches the provenance bundle. Run npm pkg fix first so the normalized URL is already in place. Also lowercase the org name to match GitHub's provenance assertion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4e88a4f commit d03674a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
working-directory: cli
6565
run: |
6666
npm version ${{ needs.release.outputs.new_release_version }} --no-git-tag-version
67+
npm pkg fix
6768
npm publish --access public --provenance
6869
6970
# Build each platform natively per stack (no QEMU emulation)

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"repository": {
2020
"type": "git",
21-
"url": "https://github.com/ReyemTech/stack-upgrade",
21+
"url": "https://github.com/reyemtech/stack-upgrade",
2222
"directory": "cli"
2323
},
2424
"license": "MIT"

0 commit comments

Comments
 (0)