Fix changelog is not uploaded automatically [skip ci]

This commit is contained in:
yushijinhun 2019-05-11 23:01:23 +08:00
parent 8ef45c37e3
commit 5fbe935af8
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4

View File

@ -23,5 +23,4 @@ deploy:
after_deploy:
- curl -s -o github-release.tar.bz2 -L https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2
- tar -xf github-release.tar.bz2
- export CHANGELOG=$(cat resources/misc/changelogs/en/$TRAVIS_TAG.md && echo "\n---\n" && cat resources/misc/changelogs/zh_CN/$TRAVIS_TAG.md)
- ./bin/linux/amd64/github-release -v edit -u bs-community -r blessing-skin-server -t $TRAVIS_TAG -d "$CHANGELOG"
- ./bin/linux/amd64/github-release -v edit -u bs-community -r blessing-skin-server -t $TRAVIS_TAG -d "$(cat resources/misc/changelogs/en/$TRAVIS_TAG.md && echo -e '\n---\n' && cat resources/misc/changelogs/zh_CN/$TRAVIS_TAG.md)"