mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Bump Lerna 8.x.x (#83233)
* chore(lerna): bump lerna to 8.x.x * chore(lerna): run lerna repair command to update lerna.json * ci(drone): use raw output (no quotes) when updating package.json version * ci(drone): update config file
This commit is contained in:
parent
5f41cc632e
commit
5f89c69b66
@ -1821,7 +1821,7 @@ steps:
|
||||
name: yarn-install
|
||||
- commands:
|
||||
- apk add --update jq
|
||||
- new_version=$(cat package.json | jq .version | sed s/pre/${DRONE_BUILD_NUMBER}/g)
|
||||
- new_version=$(cat package.json | jq -r .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
|
||||
@ -4804,6 +4804,6 @@ kind: secret
|
||||
name: gcr_credentials
|
||||
---
|
||||
kind: signature
|
||||
hmac: 14033c6fa9749db7c17aca8b404569c8e4bcb51e39cdb39b300870758db10c48
|
||||
hmac: 043eca32327fd48d9b479c3a51549b30f3825553c55df6220581def9bd22f513
|
||||
|
||||
...
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||
"npmClient": "yarn",
|
||||
"version": "11.0.0-pre"
|
||||
}
|
||||
|
@ -184,7 +184,7 @@
|
||||
"jest-fail-on-console": "3.1.2",
|
||||
"jest-junit": "16.0.0",
|
||||
"jest-matcher-utils": "29.7.0",
|
||||
"lerna": "7.4.1",
|
||||
"lerna": "8.1.2",
|
||||
"mini-css-extract-plugin": "2.8.0",
|
||||
"msw": "2.2.1",
|
||||
"mutationobserver-shim": "0.3.7",
|
||||
|
@ -438,7 +438,7 @@ def update_package_json_version():
|
||||
],
|
||||
"commands": [
|
||||
"apk add --update jq",
|
||||
"new_version=$(cat package.json | jq .version | sed s/pre/${DRONE_BUILD_NUMBER}/g)",
|
||||
"new_version=$(cat package.json | jq -r .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",
|
||||
|
Loading…
Reference in New Issue
Block a user