forked from codecutout/StringToExpression
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (29 loc) · 829 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
version: build.{build}
skip_tags: true
image: Visual Studio 2022
configuration: Release
before_build:
- ps: >-
nuget restore
[xml]$proj = Get-Content src/StringToExpression/StringToExpression.csproj
$semver = $proj.Project.PropertyGroup.Version
Set-AppveyorBuildVariable "semver" $semver
Update-AppveyorBuild -Version "$semver-build.${env:APPVEYOR_BUILD_NUMBER}"
build:
verbosity: minimal
artifacts:
- path: src\StringToExpression\bin\Release\StringToExpression.*.*.*.nupkg
name: nupkg
deploy:
- provider: NuGet
api_key:
secure: NTqy7aQ741jkqBIbCZYWh9r6hRV0JbDw9xzDukvhcW7f4WEuWFEOK4S7scwElnI4
on:
branch: master
- provider: GitHub
release: v$(semver)
auth_token:
secure: EllB83LHfhXsxb7aQ4/+tPPwF7GelAfEr27vj4BsNr5fU0RDC7zEYM5Aeihnn0SZ
artifact: nupkg
on:
branch: master