diff --git a/build/build-changelog.sh b/build/bin/build-changelog.sh similarity index 71% rename from build/build-changelog.sh rename to build/bin/build-changelog.sh index 0edf423b6..8a14b3154 100644 --- a/build/build-changelog.sh +++ b/build/bin/build-changelog.sh @@ -12,9 +12,9 @@ basepath=$(dirname $0) github_changelog_generator \ --header-label "## 更新日志" \ - --bugs-label "**修复:**" \ - --enhancement-label "**非兼容更新和新特性:**" \ - --issues-label "**处理的 Issue:**" \ - --pr-label "**合并的 Pull Request (可能有不兼容改动):**" \ + --bugs-label "**Bug Fixes**" \ + --enhancement-label "**Breaking changes**" \ + --issues-label "**Issue**" \ + --pr-label "**Improvements**" \ --no-unreleased \ -o $basepath/../docs/examples-docs/zh-CN/changelog-generated.md diff --git a/package.json b/package.json index b9d7b82e5..ea059373c 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "build:vant-css": "gulp build --gulpfile packages/vant-css/gulpfile.js --color && mkdir lib/vant-css && cp -R packages/vant-css/lib/ lib/vant-css", "build:vant": "cross-env NODE_ENV=production webpack --progress --hide-modules --color --config build/webpack.build.js && cross-env NODE_ENV=production webpack -p --progress --hide-modules --color --config build/webpack.build.js", "build:style-entry": "VUE_ENV=server node build/bin/build-style-entry.js", - "build:changelog": "sh build/build-changelog.sh", + "build:changelog": "sh build/bin/build-changelog.sh", "deploy": "npm run deploy:docs && npm run deploy:cdn && gh-pages -d docs/dist --remote youzan && rimraf docs/dist", "deploy:cdn": "superman cdn /zanui/vue docs/dist/*.js docs/dist/*.css && superman cdn /zanui/vue/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vue/async_zh-CN docs/dist/async_zh-CN/*.js", "deploy:docs": "rimraf docs/dist && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.config.prod.js",