diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index fe28799b023e8..c68df2a104e23 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -1,6 +1,6 @@ on: push: - branches: [canary] + branches: [canary, next-12-3-2] pull_request: types: [opened, synchronize] diff --git a/lerna.json b/lerna.json index 34bd0fd6ae494..2be000b83f455 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,8 @@ "publish": { "npmClient": "npm", "allowBranch": [ - "canary" + "canary", + "next-12-3-2" ], "registry": "https://registry.npmjs.org/" } diff --git a/scripts/publish-native.js b/scripts/publish-native.js index 9b3a4c5985c2d..bc0ada76b64c1 100755 --- a/scripts/publish-native.js +++ b/scripts/publish-native.js @@ -40,7 +40,9 @@ const cwd = process.cwd() nativePackagesDir, platform )} --access public ${ - gitref.includes('canary') ? ' --tag canary' : '' + gitref.includes('canary') + ? ' --tag next-12-3-2' + : '--tag next-12-3-2' }` ) } catch (err) { @@ -75,7 +77,9 @@ const cwd = process.cwd() `npm publish ${path.join( wasmDir, `pkg-${wasmTarget}` - )} --access public ${gitref.includes('canary') ? ' --tag canary' : ''}` + )} --access public ${ + gitref.includes('canary') ? ' --tag next-12-3-2' : '--tag next-12-3-2' + }` ) } diff --git a/scripts/publish-release.sh b/scripts/publish-release.sh index a52671ccdf93e..9d274ea997986 100755 --- a/scripts/publish-release.sh +++ b/scripts/publish-release.sh @@ -15,7 +15,7 @@ fi if [[ $(git describe --exact-match 2> /dev/null || :) =~ -canary ]]; then echo "Publishing canary" - yarn run lerna publish from-git --npm-tag canary --no-git-reset --no-verify-access --yes + yarn run lerna publish from-git --npm-tag next-12-3-2 --no-git-reset --no-verify-access --yes # Make sure to exit script with code 1 if publish failed if [[ ! $? -eq 0 ]];then @@ -27,7 +27,7 @@ fi if [[ ! $(git describe --exact-match 2> /dev/null || :) =~ -canary ]];then echo "Publishing stable" - yarn run lerna publish from-git --no-git-reset --no-verify-access --yes + yarn run lerna publish from-git --no-git-reset --npm-tag next-12-3-2 --no-verify-access --yes # Make sure to exit script with code 1 if publish failed if [[ ! $? -eq 0 ]];then