代码拉取完成,页面将自动刷新
version: '{build}'
branches:
only:
- master
skip_branch_with_pr: true
image: Visual Studio 2019
configuration: Release
platform: Any CPU
clone_script:
- cmd: >-
git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
cd %APPVEYOR_BUILD_FOLDER%
git checkout -qf %APPVEYOR_REPO_COMMIT%
git submodule update --init --recursive
cache:
- packages -> **\packages.config
- '%USERPROFILE%\.nuget\packages -> **\project.json'
before_build:
- ps: >-
$env:GIT_TAG = git describe --always --tags
nuget restore -verbosity detailed
build:
verbosity: minimal
after_build:
- ps: >-
Get-Content GitVersion.cs
Move-Item Build\QuickLook-$env:GIT_TAG.msi QuickLook-$env:GIT_TAG.msi
Move-Item Build\QuickLook-$env:GIT_TAG.zip QuickLook-$env:GIT_TAG.zip
artifacts:
- path: QuickLook-%GIT_TAG%.zip
name: QuickLook-%GIT_TAG%
- path: QuickLook-%GIT_TAG%.msi
name: QuickLook-%GIT_TAG%
deploy:
- provider: GitHub
auth_token:
secure: 5CSvkfKBq9kUho529L1tkH5ywQQFJY/A8Y6lNoHGJFi7mnSqQAaoiVPbUVU4a/KC
artifact: QuickLook-$(APPVEYOR_REPO_TAG_NAME)
draft: true
on:
APPVEYOR_REPO_TAG: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。