mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 04:22:13 +08:00
CI: Remove pre from npm canary packages (#75376)
Remove pre from npm canary packages
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user