Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 1b7ddd3

Browse files
chore(bower/npm): use npm (not yarn) to publish
yarn has an annoying behaviour in that it wants to do the version bumping for you and requires an interactive terminal to tell it what version.
1 parent 4c5afb5 commit 1b7ddd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bower/publish.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function publish {
9999
# don't publish every build to the npm repository
100100
if [ "${NEW_VERSION/+sha}" = "$NEW_VERSION" ] ; then
101101
echo "-- Publishing to the npm repository as $DIST_TAG"
102-
yarn publish --tag=$DIST_TAG
102+
npm publish --tag=$DIST_TAG
103103
fi
104104

105105
cd $SCRIPT_DIR

0 commit comments

Comments
 (0)