CI: Remove pre from npm canary packages (#75376)

Remove pre from npm canary packages
This commit is contained in:
Kevin Minehart
2023-09-25 10:01:17 -05:00
committed by GitHub
parent ffb15ef363
commit f46b78ec38
2 changed files with 3 additions and 3 deletions

View File

@ -434,7 +434,7 @@ def update_package_json_version():
],
"commands": [
"apk add --update jq",
"new_version=$(cat package.json | jq .version | sed s/pre/${DRONE_BUILD_NUMBER}pre/g)",
"new_version=$(cat package.json | jq .version | sed s/pre/${DRONE_BUILD_NUMBER}/g)",
"echo \"New version: $new_version\"",
"yarn run lerna version $new_version --exact --no-git-tag-version --no-push --force-publish -y",
"yarn install --mode=update-lockfile",