Skip to content

Commit 9ab1166

Browse files
committed
apply changes for publish
1 parent e7208a1 commit 9ab1166

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.github/workflows/build_test_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
push:
3-
branches: [canary]
3+
branches: [canary, next-12-3-2]
44
pull_request:
55
types: [opened, synchronize]
66

lerna.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"publish": {
1212
"npmClient": "npm",
1313
"allowBranch": [
14-
"canary"
14+
"canary",
15+
"next-12-3-2"
1516
],
1617
"registry": "https://registry.npmjs.org/"
1718
}

scripts/publish-native.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ const cwd = process.cwd()
4040
nativePackagesDir,
4141
platform
4242
)} --access public ${
43-
gitref.includes('canary') ? ' --tag canary' : ''
43+
gitref.includes('canary')
44+
? ' --tag next-12-3-2'
45+
: '--tag next-12-3-2'
4446
}`
4547
)
4648
} catch (err) {
@@ -75,7 +77,9 @@ const cwd = process.cwd()
7577
`npm publish ${path.join(
7678
wasmDir,
7779
`pkg-${wasmTarget}`
78-
)} --access public ${gitref.includes('canary') ? ' --tag canary' : ''}`
80+
)} --access public ${
81+
gitref.includes('canary') ? ' --tag next-12-3-2' : '--tag next-12-3-2'
82+
}`
7983
)
8084
}
8185

scripts/publish-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515
if [[ $(git describe --exact-match 2> /dev/null || :) =~ -canary ]];
1616
then
1717
echo "Publishing canary"
18-
yarn run lerna publish from-git --npm-tag canary --no-git-reset --no-verify-access --yes
18+
yarn run lerna publish from-git --npm-tag next-12-3-2 --no-git-reset --no-verify-access --yes
1919

2020
# Make sure to exit script with code 1 if publish failed
2121
if [[ ! $? -eq 0 ]];then
@@ -27,7 +27,7 @@ fi
2727

2828
if [[ ! $(git describe --exact-match 2> /dev/null || :) =~ -canary ]];then
2929
echo "Publishing stable"
30-
yarn run lerna publish from-git --no-git-reset --no-verify-access --yes
30+
yarn run lerna publish from-git --no-git-reset --npm-tag next-12-3-2 --no-verify-access --yes
3131

3232
# Make sure to exit script with code 1 if publish failed
3333
if [[ ! $? -eq 0 ]];then

0 commit comments

Comments
 (0)