diff --git a/build/release.sh b/build/release.sh index 4a8b6a72e..605fbbe06 100644 --- a/build/release.sh +++ b/build/release.sh @@ -11,7 +11,17 @@ then # build VERSION=$VERSION npm run dist + # publish theme + echo "Releasing theme-default $VERSION ..." + cd packages/theme-default + git checkout master + npm version $VERSION --message "[release] $VERSION" + git push origin master --tags + npm publish --tag next + cd ../.. + # commit + git submodule update git add -A git commit -m "[build] $VERSION" npm version $VERSION --message "[release] $VERSION" diff --git a/examples/app.vue b/examples/app.vue index 00b175815..2f0cc7994 100644 --- a/examples/app.vue +++ b/examples/app.vue @@ -1,5 +1,5 @@