File tree 4 files changed +11
-6
lines changed 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
push :
3
- branches : [canary]
3
+ branches : [canary, next-12-3-2 ]
4
4
pull_request :
5
5
types : [opened, synchronize]
6
6
Original file line number Diff line number Diff line change 11
11
"publish" : {
12
12
"npmClient" : " npm" ,
13
13
"allowBranch" : [
14
- " canary"
14
+ " canary" ,
15
+ " next-12-3-2"
15
16
],
16
17
"registry" : " https://registry.npmjs.org/"
17
18
}
Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ const cwd = process.cwd()
40
40
nativePackagesDir ,
41
41
platform
42
42
) } --access public ${
43
- gitref . includes ( 'canary' ) ? ' --tag canary' : ''
43
+ gitref . includes ( 'canary' )
44
+ ? ' --tag next-12-3-2'
45
+ : '--tag next-12-3-2'
44
46
} `
45
47
)
46
48
} catch ( err ) {
@@ -75,7 +77,9 @@ const cwd = process.cwd()
75
77
`npm publish ${ path . join (
76
78
wasmDir ,
77
79
`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
+ } `
79
83
)
80
84
}
81
85
Original file line number Diff line number Diff line change 15
15
if [[ $( git describe --exact-match 2> /dev/null || :) =~ -c anary ]];
16
16
then
17
17
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
19
19
20
20
# Make sure to exit script with code 1 if publish failed
21
21
if [[ ! $? -eq 0 ]]; then
27
27
28
28
if [[ ! $( git describe --exact-match 2> /dev/null || :) =~ -c anary ]]; then
29
29
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
31
31
32
32
# Make sure to exit script with code 1 if publish failed
33
33
if [[ ! $? -eq 0 ]]; then
You can’t perform that action at this time.
0 commit comments