Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
4dc9bba5
Unverified
Commit
4dc9bba5
authored
Dec 04, 2021
by
JJ Kasper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add no-verify-access for lerna
parent
e314019e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
publish-native.js
scripts/publish-native.js
+8
-6
publish-release.sh
scripts/publish-release.sh
+2
-2
No files found.
scripts/publish-native.js
View file @
4dc9bba5
...
...
@@ -33,12 +33,14 @@ const cwd = process.cwd()
path
.
join
(
nativePackagesDir
,
platform
,
'package.json'
),
JSON
.
stringify
(
pkg
,
null
,
2
)
)
execSync
(
`npm publish
${
path
.
join
(
nativePackagesDir
,
platform
)}
--access public --tag next-11`
)
// Publish failed after publishing swc packages so skip to allow
// retrying
// execSync(
// `npm publish ${path.join(
// nativePackagesDir,
// platform
// )} --access public --tag next-11`
// )
// lerna publish in next step will fail if git status is not clean
execSync
(
`git update-index --skip-worktree
${
path
.
join
(
...
...
scripts/publish-release.sh
View file @
4dc9bba5
...
...
@@ -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
--yes
yarn run lerna publish from-git
--npm-tag
canary
--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
--npm-tag
next-11
--no-git-reset
--yes
yarn run lerna publish from-git
--npm-tag
next-11
--no-git-reset
--
no-verify-access
--
yes
# Make sure to exit script with code 1 if publish failed
if
[[
!
$?
-eq
0
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment