mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
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:
parent
16700c95e1
commit
27a1b03827
6
.gitignore
vendored
6
.gitignore
vendored
@ -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
|
||||
|
@ -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…
Reference in New Issue
Block a user