From 80d430d72c91a9433b85b6f308aa9763a9b5baef Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 25 Oct 2024 10:46:14 +0200 Subject: [PATCH] fix canary version prefix --- 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",