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
2b468713
Unverified
Commit
2b468713
authored
Sep 02, 2021
by
Steven
Committed by
GitHub
Sep 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix lerna publish for automation token (#28750)
Related to
https://github.com/lerna/lerna/issues/2788
parent
31fef9ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
publish-release.sh
scripts/publish-release.sh
+2
-2
No files found.
scripts/publish-release.sh
View file @
2b468713
...
...
@@ -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
--no-git-reset
--yes
yarn run lerna publish from-git
--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