adjust build-changelog dir

This commit is contained in:
陈嘉涵
2017-10-09 15:40:45 +08:00
parent 8ffca815e6
commit 85e477eab0
2 changed files with 5 additions and 5 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env sh
if ! command_exists github_changelog_generator ; then
fail 'github_changelog_generator is required to publish packages'
fi
if [ -z "$CHANGELOG_GITHUB_TOKEN" ] ; then
fail 'You must set CHANGELOG_GITHUB_TOKEN environment variable\nhttps://github.com/skywinder/github-changelog-generator#github-token'
fi
basepath=$(dirname $0)
github_changelog_generator \
--header-label "## 更新日志" \
--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