Skip to content

Commit cdb260b

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into feature/heartbeats
2 parents c27bfff + 48cc7ee commit cdb260b

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

appveyor.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@ configuration: Release
77

88
init:
99
- git config --global core.autocrlf true
10-
11-
install:
1210
- ps: $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10)
11+
- ps: If ("$env:APPVEYOR_REPO_TAG" -ne "true") { $env:VERSION_SUFFIX="-pre" }
1312

1413
assembly_info:
1514
patch: true
1615
file: Source\GlobalAssemblyInfo.cs
1716
assembly_version: "{version}.0"
1817
assembly_file_version: "{version}.0"
19-
assembly_informational_version: "{version} $(GIT_HASH)"
18+
assembly_informational_version: "{version}$(VERSION_SUFFIX) $(GIT_HASH)"
2019

2120
before_build:
22-
- nuget restore -verbosity quiet
21+
- appveyor-retry nuget restore -verbosity quiet
2322

2423
build_script:
2524
- ps: .\Libraries\Build.ps1
@@ -31,17 +30,26 @@ test:
3130
after_test:
3231
- ps: .\Libraries\Package.ps1
3332

34-
notifications:
35-
- provider: Slack
36-
auth_token:
37-
secure: GniMpFE62HprSyQNQoej/fBOAdbQe8EMWAMMNXX0s2JxeNePjemiO1bCf4eYweE4p70mm0sCwMjeEP/Ps9aTMA==
38-
channel: '#notifications'
39-
4033
artifacts:
4134
- path: Build\Deploy\packages\*.nupkg
35+
name: ReleaseArtifacts
4236

4337
deploy:
4438
- provider: Environment
45-
name: MyGet
39+
name: NuGet
4640
on:
4741
branch: master
42+
appveyor_repo_tag: true
43+
- provider: GitHub
44+
auth_token:
45+
secure: 0s81q7bweVLTFSOKxnIhan7el6bIFiN8HJ1kYJzOkeFXX7wgGSq9bs/rV53X9qpf
46+
draft: true
47+
on:
48+
branch: master
49+
appveyor_repo_tag: true
50+
51+
notifications:
52+
- provider: Slack
53+
auth_token:
54+
secure: GniMpFE62HprSyQNQoej/fBOAdbQe8EMWAMMNXX0s2JxeNePjemiO1bCf4eYweE4p70mm0sCwMjeEP/Ps9aTMA==
55+
channel: '#notifications'

0 commit comments

Comments
 (0)