mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
fix: fix canary release version name (#5295)
This commit is contained in:
parent
0a668366c2
commit
b5ecf270d9
2 changed files with 3 additions and 1 deletions
2
.github/workflows/canary-release.yml
vendored
2
.github/workflows/canary-release.yml
vendored
|
@ -15,6 +15,8 @@ jobs:
|
|||
node-version: [12.x]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0 # Needed to get the commit number with "git rev-list --count HEAD"
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"crowdin:upload:v2": "crowdin upload sources --config ./crowdin-v2.yaml",
|
||||
"crowdin:download:v2": "crowdin download --config ./crowdin-v2.yaml",
|
||||
"canary": "yarn canary:bumpVersion && yarn canary:publish",
|
||||
"canary:version": "echo `node -e \"console.log(require('./packages/docusaurus/package.json').version)\"`.`git rev-list --count HEAD`.`git rev-parse --short HEAD`",
|
||||
"canary:version": "echo 0.0.0-`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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue