From 85fd8f28716d723b59153db6879d09839043a1e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Fri, 25 Oct 2024 10:56:35 +0200 Subject: [PATCH] chore: fix canary version prefix (#10612) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2f44f5fcd589..8876ca0adeeb 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "crowdin:download:website": "yarn crowdin:download --language fr --language ko --language pt-BR --language zh-CN --language ja", "argos:screenshot": "yarn workspace argos screenshot", "canary": "yarn canary:bumpVersion && yarn canary:publish", - "canary:version": "echo 0.0.0-`git rev-list --count HEAD`+`git rev-parse --short HEAD`", + "canary:getCoreVersion": "node -p \"require('./packages/docusaurus/package.json').version\"", + "canary:version": "echo `yarn --silent canary:getCoreVersion`-canary-`git rev-list --count HEAD`+`git rev-parse --short HEAD`", "canary:bumpVersion": "yarn lerna version `yarn --silent canary:version` --exact --no-push --yes", "canary:publish": "yarn lerna publish from-package --dist-tag canary --yes --no-verify-access", "changelog": "lerna-changelog",