Fix release-related issue

This commit is contained in:
Pig Fang 2019-07-05 18:15:46 +08:00
parent caa6ca69cf
commit 1c2220ef94
4 changed files with 9 additions and 1 deletions

View File

@ -74,12 +74,18 @@ steps:
mkdir dist
cd dist
cp ../blessing-skin-server-$RELEASE_TAG.zip blessing-skin-server-$RELEASE_TAG.zip
echo "{\"spec\":2,\"php\":\"7.1.8\",\"latest\":\"$RELEASE_TAG\",\"url\":\"https://dev.azure.com/blessing-skin/51010f6d-9f99-40f1-a262-0a67f788df32/_apis/git/repositories/a9ff8df7-6dc3-4ff8-bb22-4871d3a43936/Items?path=%2Fblessing-skin-server-$RELEASE_TAG.zip\"}" > update_2.json
git init
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 ..
fi
displayName: 'Create update source info'
- script: |
(cat resources/misc/changelogs/zh_CN/$RELEASE_TAG.md && echo "\n---\n" && cat resources/misc/changelogs/en/$RELEASE_TAG.md) > changelog.md
(cat resources/misc/changelogs/zh_CN/$RELEASE_TAG.md && cat resources/misc/changelogs/en/$RELEASE_TAG.md) > changelog.md
displayName: 'Generate changelog'
- task: GitHubRelease@0

View File

@ -23,3 +23,5 @@
- 修复可能存在的重复签到问题
- 修复安装皮肤站时未创建 OAuth 相关数据表的问题
- 修复插件系统中前端 `mounted` 事件的时机问题
---