mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
Update build script for new nuget retore
This commit is contained in:
parent
b9b59ac2e0
commit
8a78e4e9f4
61
appveyor.yml
61
appveyor.yml
@ -1,35 +1,36 @@
|
||||
version: 1.2.0.{build}
|
||||
configuration:
|
||||
Release
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
os: Visual Studio 2015
|
||||
configuration: Release
|
||||
platform: Any CPU
|
||||
assembly_info:
|
||||
patch: true
|
||||
file: AssemblyInfo.*
|
||||
assembly_version: "{version}"
|
||||
assembly_file_version: "{version}"
|
||||
assembly_informational_version: "{version}"
|
||||
|
||||
patch: true
|
||||
file: AssemblyInfo.*
|
||||
assembly_version: 1.2.0
|
||||
assembly_file_version: '{version}'
|
||||
assembly_informational_version: '{version}-$(APPVEYOR_REPO_COMMIT)'
|
||||
before_build:
|
||||
- ps: nuget restore
|
||||
build:
|
||||
project: Wox.sln
|
||||
|
||||
project: Wox.sln
|
||||
publish_nuget: true
|
||||
after_build:
|
||||
- cmd: .\deploy\UpdateGenerator\build.bat
|
||||
after_test:
|
||||
- ps: .\deploy\nuget\pack.ps1
|
||||
- cmd: .\deploy\UpdateGenerator\build.bat
|
||||
|
||||
deploy:
|
||||
provider: NuGet
|
||||
api_key:
|
||||
secure: yybUOFgBuGVpbmOVZxsurC8OpkClzt9dR+/54WpMWcq6b6oyMatciaelRPnXsjRn
|
||||
artifact: nugetpackage
|
||||
on:
|
||||
branch: master
|
||||
|
||||
- ps: .\deploy\nuget\pack.ps1
|
||||
artifacts:
|
||||
- path: Output\Release
|
||||
name: release-binary
|
||||
|
||||
- path: '*.nupkg'
|
||||
name: nugetpackage
|
||||
|
||||
- path: Output\Update
|
||||
name: update-binary
|
||||
- path: Output\Release
|
||||
name: release-binary
|
||||
- path: '*.nupkg'
|
||||
name: nugetpackage
|
||||
- path: Output\Update
|
||||
name: update-binary
|
||||
deploy:
|
||||
- provider: NuGet
|
||||
api_key:
|
||||
secure: AMF+zWfGP+02wq2u33PfSyCI2AbD+eek1ljd9q6zs0qEPMP+YwVF5mF9X1+XJD4wPItJB+S8h1AANUowXgfpd29aaYNmS73HWgaL6fqnN2U=
|
||||
artifact: nugetpackage
|
||||
on:
|
||||
branch: master
|
Loading…
Reference in New Issue
Block a user