Add provenance to NPM publish during release cycle (#5644)
This commit is contained in:
@ -9,7 +9,7 @@ PACKAGE_JSON_VERSION="$(tar xfO "$TARBALL" package/package.json | jq -r .version
|
|||||||
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
|
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
|
||||||
|
|
||||||
# Actual publish
|
# Actual publish
|
||||||
npm publish "$TARBALL" --tag "$TAG"
|
npm publish --provenance "$TARBALL" --tag "$TAG"
|
||||||
|
|
||||||
# Clean up tags
|
# Clean up tags
|
||||||
delete_tag() {
|
delete_tag() {
|
||||||
|
|||||||
Reference in New Issue
Block a user