75 строки
2.1 KiB
YAML
75 строки
2.1 KiB
YAML
# Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- develop
|
|
|
|
image: Visual Studio 2019
|
|
|
|
version: 0.0.0.{build}
|
|
configuration: Release
|
|
|
|
environment:
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
|
NUGET_XMLDOC_MODE: skip
|
|
|
|
install:
|
|
- msbuild tools\OneTimeWixBuildInitialization.proj
|
|
|
|
before_build:
|
|
- nuget restore Votive.sln
|
|
|
|
build:
|
|
project: src\src.proj
|
|
|
|
pull_requests:
|
|
do_not_increment_build_number: true
|
|
|
|
nuget:
|
|
disable_publish_on_pr: true
|
|
|
|
skip_branch_with_pr: true
|
|
skip_tags: true
|
|
|
|
artifacts:
|
|
- path: build\Release\**\*.vsix
|
|
|
|
notifications:
|
|
- provider: Slack
|
|
incoming_webhook:
|
|
secure: p5xuu+4x2JHfwGDMDe5KcG1k7gZxqYc4jWVwvyNZv5cvkubPD2waJs5yXMAXZNN7Z63/3PWHb7q4KoY/99AjauYa1nZ4c5qYqRPFRBKTHfA=
|
|
|
|
for:
|
|
-
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
environment:
|
|
KeyPairDownloadToken:
|
|
secure: HKpHJ0SC/XYHS4dhbuPQbgyjAaU4qKYwCElomqi8fcmeREVX9IWlV4ZcGF9P+yDoc7qFdnpb0ZbQLh/Q7KIn4aM07/y8kz8HBy8UAU4CS6xLo+pgXQhpejgxh00FFfcqbA9Y3nLGAzO2zdegEHfvvwL9agHHtSSqho4tGwCXrI4OBorcopNN1KfNyxfm5oIz
|
|
PleaseSignOutput: true
|
|
SignClientUser:
|
|
secure: s+b2kuhi/AlE8ZYFsNVHFLfgJOwi0fIKMCOP+xL++8U=
|
|
SignClientSecret:
|
|
secure: tlJbxYs82lHpHf8dttYr4LpKbWSAC/gKlvyDfUWKBj0=
|
|
|
|
install:
|
|
- ps: $env:OFFICIAL_WIX_BUILD=$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(".\wix4_keypair.snk")
|
|
- ps: Start-FileDownload -Url "https://wixdl.blob.core.windows.net/secure/keys/wix4_keypair.snk${env:KeyPairDownloadToken}" -FileName "${env:OFFICIAL_WIX_BUILD}"
|
|
|
|
after_build:
|
|
- ps: Remove-Item "${env:OFFICIAL_WIX_BUILD}"
|
|
|
|
deploy:
|
|
provider: GitHub
|
|
tag: v$(GitBuildVersion)
|
|
release: WiX Toolset Visual Studio Extensions v$(GitBuildVersion)
|
|
description: 'WiX Toolset Visual Studio Extensions (aka: Votive) release v$(GitBuildVersion)'
|
|
artifact: /.*\.vsix/
|
|
prerelease: true
|
|
auth_token:
|
|
secure: BuuXJ8z8dMoeeMPy4l7QbbNPFn1/CW9PRGZxMhH3IAFdtTftFKZHA7eqpBqiE2T3
|