forked from kaboing/press_sharp
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
44 lines (34 loc) · 910 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: 1.2.0.{build}
environment:
packageVersion: 1.2.0
init:
- ps: $env:buildVersion = "$env:packageVersion.$env:appveyor_build_number"
- ps: $env:nugetVersion = "$env:packageVersion"
- ps: Update-AppveyorBuild -Version $env:buildVersion
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '$(buildVersion)'
assembly_file_version: '$(buildVersion)'
assembly_informational_version: '$(nugetVersion)'
configuration: Release
nuget:
account_feed: true
project_feed: true
disable_publish_on_pr: true
before_build:
- nuget restore
build:
verbosity: minimal
after_build:
- ps: nuget pack PressSharper.nuspec -version "$env:nugetVersion"
artifacts:
- path: 'PressSharper*.nupkg'
name: nuget-package
deploy:
- provider: NuGet
api_key:
secure: l/JE/7yoZOCqSTvqE99Q/0XT1nFsiU3I+yT6o+WshW030w5/mu0pbOrQL3ko86sT
artifact: nuget-package
on:
branch: master