作者:康林 ———
在 appveyor.yml 中多行书写脚本,使用“ | - ” |
- |-
if [ "$BUILD_TARGERT"="unix" -a -z "$RABBIT_ARCH" ]; then
source /opt/qt511/bin/qt511-env.sh
fi
deploy:
- provider: GitHub
#release: RabbitThirdLibrary_$(BUILD_VERSION)
description: 'Release Tasks $(APPVEYOR_REPO_TAG_NAME) on windows'
#token : https://github.com/settings/tokens
#password encrypt: https://ci.appveyor.com/tools/encrypt
auth_token:
secure:
#draft: true
#prerelease: true
on:
appveyor_repo_tag: true # deploy on tag push only
参数说明: