Fix the repository URL in the package.json file for pdfjs-dist
For provenance, enabled in PR #18352, to work the repository URL in `package.json` is required to match the repository URL of the GitHub Actions invocation. This should fix the following error we encountered publishing a new release today: ``` npm error 422 Unprocessable Entity - PUT https://registry.npmjs.org/pdfjs-dist - Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: "repository.url" is "git+https://github.com/mozilla/pdfjs-dist.git", expected to match "https://github.com/mozilla/pdf.js" from provenance ```
This commit is contained in:
parent
7114796430
commit
bf5dd7ea10
@ -2226,7 +2226,7 @@ function packageJson() {
|
||||
},
|
||||
repository: {
|
||||
type: "git",
|
||||
url: `git+${DIST_REPO_URL}.git`,
|
||||
url: `git+https://github.com/mozilla/pdf.js.git`,
|
||||
},
|
||||
engines: {
|
||||
node: ">=18",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user