CI: Fix bump version step (#75047)

needs brackets
This commit is contained in:
Kevin Minehart
2023-09-18 17:37:32 -05:00
committed by GitHub
parent c7ef496750
commit 49ff1b9060
2 changed files with 3 additions and 3 deletions

View File

@@ -424,7 +424,7 @@ def update_package_json_version():
],
"commands": [
"apk add --update jq",
"new_version=$(cat package.json | jq .version | sed s/pre/$DRONE_BUILD_NUMBERpre/g)",
"new_version=$(cat package.json | jq .version | sed s/pre/${DRONE_BUILD_NUMBER}pre/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",