|
|
@ -30,18 +30,18 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then |
|
|
|
cd packages/vue-template-compiler |
|
|
|
npm version $VERSION |
|
|
|
if [[ -z $RELEASE_TAG ]]; then |
|
|
|
npm publish --tag $RELEASE_TAG |
|
|
|
else |
|
|
|
npm publish |
|
|
|
else |
|
|
|
npm publish --tag $RELEASE_TAG |
|
|
|
fi |
|
|
|
cd - |
|
|
|
|
|
|
|
cd packages/vue-server-renderer |
|
|
|
npm version $VERSION |
|
|
|
if [[ -z $RELEASE_TAG ]]; then |
|
|
|
npm publish --tag $RELEASE_TAG |
|
|
|
else |
|
|
|
npm publish |
|
|
|
else |
|
|
|
npm publish --tag $RELEASE_TAG |
|
|
|
fi |
|
|
|
cd - |
|
|
|
|
|
|
@ -54,8 +54,8 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then |
|
|
|
git push origin refs/tags/v$VERSION |
|
|
|
git push |
|
|
|
if [[ -z $RELEASE_TAG ]]; then |
|
|
|
npm publish --tag $RELEASE_TAG |
|
|
|
else |
|
|
|
npm publish |
|
|
|
else |
|
|
|
npm publish --tag $RELEASE_TAG |
|
|
|
fi |
|
|
|
fi |
|
|
|