-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathappveyor.yml
More file actions
37 lines (29 loc) · 891 Bytes
/
appveyor.yml
File metadata and controls
37 lines (29 loc) · 891 Bytes
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
os: Visual Studio 2022
version: 2.2.1-alpha-{build}
init:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version $($env:APPVEYOR_REPO_TAG_NAME.TrimStart('v'))
}
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: "{version}"
package_version: "{version}"
assembly_version: "{version}"
file_version: "{version}"
informational_version: "{version}"
nuget:
account_feed: true
project_feed: true
before_build:
- ps: dotnet restore
artifacts:
- path: '**\*.nupkg'
notifications:
- provider: Slack
auth_token:
secure: fOssPHTsqm6seWcnywN2TJE9gLtRdd1iXLRWWWWAhx4atR0u0ECGb/9Ij/gI/zafJI+FQvevEemi9epjeRhV/g==
channel: rest-api
template: "<{{buildUrl}}|Build {{projectName}} {{buildVersion}} {{status}}> Commit <{{commitUrl}}|{{commitId}}> by {{commitAuthor}} on {{commitDate}}: _{{commitMessage}}_"