Skip to content

Commit

Permalink
update publish configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Apr 12, 2024
1 parent 14987d9 commit 597aa44
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build-and-deploy

on:
push:
branches: ['canary']
branches: ['canary', '14-2-1']
workflow_dispatch:

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build-and-test

on:
push:
branches: ['canary']
branches: ['canary', '14-2-1']
pull_request:
types: [opened, synchronize]

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"publish": {
"npmClient": "npm",
"allowBranch": [
"canary"
"14-2-1"
],
"registry": "https://registry.npmjs.org/"
}
Expand Down
4 changes: 3 additions & 1 deletion scripts/publish-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ const cwd = process.cwd()
`${path.join(nativePackagesDir, platform)}`,
`--access`,
`public`,
...(version.includes('canary') ? ['--tag', 'canary'] : []),
...(version.includes('canary')
? ['--tag', 'canary']
: ['--tag', '14-2-1']),
],
{ stdio: 'inherit' }
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const cwd = process.cwd()
'--access',
'public',
'--ignore-scripts',
...(isCanary ? ['--tag', 'canary'] : []),
...(isCanary ? ['--tag', 'canary'] : ['--tag', '14-2-1']),
],
{ stdio: 'pipe' }
)
Expand Down

0 comments on commit 597aa44

Please sign in to comment.