File tree Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,18 @@ configuration: Release
7
7
8
8
init :
9
9
- git config --global core.autocrlf true
10
-
11
- install :
12
10
- ps : $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10)
11
+ - ps : If ("$env:APPVEYOR_REPO_TAG" -ne "true") { $env:VERSION_SUFFIX="-pre" }
13
12
14
13
assembly_info :
15
14
patch : true
16
15
file : Source\GlobalAssemblyInfo.cs
17
16
assembly_version : " {version}.0"
18
17
assembly_file_version : " {version}.0"
19
- assembly_informational_version : " {version} $(GIT_HASH)"
18
+ assembly_informational_version : " {version}$(VERSION_SUFFIX) $(GIT_HASH)"
20
19
21
20
before_build :
22
- - nuget restore -verbosity quiet
21
+ - appveyor-retry nuget restore -verbosity quiet
23
22
24
23
build_script :
25
24
- ps : .\Libraries\Build.ps1
@@ -31,17 +30,26 @@ test:
31
30
after_test :
32
31
- ps : .\Libraries\Package.ps1
33
32
34
- notifications :
35
- - provider : Slack
36
- auth_token :
37
- secure : GniMpFE62HprSyQNQoej/fBOAdbQe8EMWAMMNXX0s2JxeNePjemiO1bCf4eYweE4p70mm0sCwMjeEP/Ps9aTMA==
38
- channel : ' #notifications'
39
-
40
33
artifacts :
41
34
- path : Build\Deploy\packages\*.nupkg
35
+ name : ReleaseArtifacts
42
36
43
37
deploy :
44
38
- provider : Environment
45
- name : MyGet
39
+ name : NuGet
46
40
on :
47
41
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'
You can’t perform that action at this time.
0 commit comments