Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion bin/publish-npm
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,10 @@ else
fi

# Publish with the appropriate tag
yarn publish --tag "$TAG"
#
# Explicit --registry is required because yarn 1.x defaults to
# https://registry.yarnpkg.com — a read-only npm mirror — and the auth
# token above is configured for registry.npmjs.org, so the publish PUT
# fails with "Not found". Recent runs (v0.1.0-alpha.28, v0.1.0-alpha.29)
# failed for this reason.
yarn publish --tag "$TAG" --registry https://registry.npmjs.org
Loading