Browse Source

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
dev
Blake Newman 8 years ago
committed by Evan You
parent
commit
27a1b03827
  1. 6
      .gitignore
  2. 8
      build/release.sh

6
.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

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

Loading…
Cancel
Save