mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-03-01 15:05:39 +08:00
Automatically add release notes
This commit is contained in:
parent
51c9bac405
commit
d8aca0b8d5
@ -16,7 +16,12 @@ deploy:
|
||||
api_key: $GITHUB_TOKEN
|
||||
file: blessing-skin-server-$TRAVIS_TAG.zip
|
||||
name: $TRAVIS_TAG
|
||||
draft: true
|
||||
skip_cleanup: true
|
||||
on:
|
||||
tags: true
|
||||
|
||||
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/$RELEASE_TAG.md && echo "\n---\n" && cat resources/misc/changelogs/zh_CN/$RELEASE_TAG.md)
|
||||
- ./bin/linux/amd64/github-release -v edit -u bs-community -r blessing-skin-server -t $RELEASE_TAG -d $CHANGELOG
|
||||
|
@ -32,3 +32,4 @@ git add .
|
||||
git commit -m "Publish"
|
||||
git remote add origin https://blessing-skin:$AZURE_TOKEN@dev.azure.com/blessing-skin/Blessing%20Skin%20Server/_git/Blessing%20Skin%20Server
|
||||
git push -f origin master
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user