diff --git a/.gitignore b/.gitignore index 1a1f17616..1ee765a0d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,9 @@ test/e2e/reports test/e2e/screenshots coverage RELEASE_NOTE*.md +dist/*.js +packages/vue-server-renderer/basic.js +packages/vue-server-renderer/build.js +packages/vue-server-renderer/server-plugin.js +packages/vue-server-renderer/client-plugin.js +packages/vue-template-compiler/build.js diff --git a/build/release.sh b/build/release.sh index 5a11af228..795699978 100644 --- a/build/release.sh +++ b/build/release.sh @@ -47,6 +47,14 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then # commit git add -A + git add -f \ + dist/*.js \ + !dist/vue.common.min.js \ + packages/vue-server-renderer/basic.js \ + packages/vue-server-renderer/build.js \ + packages/vue-server-renderer/server-plugin.js \ + packages/vue-server-renderer/client-plugin.js \ + packages/vue-template-compiler/build.js git commit -m "[build] $VERSION" npm version $VERSION --message "[release] $VERSION"