chore(build): ignore dist files until release (#5984)

ignore dist files until release
improves contributor experience
ensures dist files can't be accidentally committed in
This commit is contained in:
Blake Newman 2017-06-30 03:02:02 +02:00 committed by Evan You
parent 16700c95e1
commit 27a1b03827
2 changed files with 14 additions and 0 deletions

6
.gitignore vendored
View File

@ -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

View File

@ -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"