File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 2727echo
2828echo ' Preparing plugin...'
2929cd plugin/
30- yarn version -s --no-git-tag-version --new-version $ALGOLIASEARCH_NETLIFY_VERSION
30+ npm version -s --no-git-tag-version $ALGOLIASEARCH_NETLIFY_VERSION
31+ yarn build
3132cd ..
3233
3334# # Building front-end
3435echo
3536echo ' Preparing frontend...'
3637cd frontend/
37- yarn version -s --no-git-tag-version --new -version $ALGOLIASEARCH_NETLIFY_VERSION
38+ npm version -s --no-git-tag-version $ALGOLIASEARCH_NETLIFY_VERSION
3839yarn build
3940cd ..
4041
4142# # Git commit & tag
4243echo
4344echo ' Preparing changelog, creating commit & tag...'
4445# ## Initial (fake) commit & version tag
45- yarn version -s --no-git-tag-version --new -version $ALGOLIASEARCH_NETLIFY_VERSION
46+ npm version -s --no-git-tag-version $ALGOLIASEARCH_NETLIFY_VERSION
4647git add package.json plugin/package.json frontend/package.json
4748git commit -m " chore(release): $ALGOLIASEARCH_NETLIFY_VERSION "
4849git tag -a " v$ALGOLIASEARCH_NETLIFY_VERSION " -m " $ALGOLIASEARCH_NETLIFY_VERSION "
@@ -67,14 +68,14 @@ read OTP
6768echo
6869echo " Publishing plugin on npm..."
6970cd plugin/
70- yarn publish --new-version $ALGOLIASEARCH_NETLIFY_VERSION --otp $OTP
71+ npm publish --otp $OTP
7172cd ..
7273
7374echo
7475echo " Publishing frontend on npm..."
7576# # Release frontend
7677cd frontend/
77- yarn publish --new-version $ALGOLIASEARCH_NETLIFY_VERSION -- otp $OTP
78+ yarn publish --otp $OTP
7879cd ..
7980
8081# # Release git
You can’t perform that action at this time.
0 commit comments