5
5
#module nuget : ? package = Cake . DotNetTool . Module & version = 0.5 .0
6
6
#tool dotnet: ? package = NuGetKeyVaultSignTool & version = 1.2 .28
7
7
#tool dotnet: ? package = AzureSignTool & version = 2.0 .17
8
- #tool dotnet: ? package = GitReleaseManager . Tool & version = 0.11 .0
8
+ #tool dotnet: ? package = GitReleaseManager . Tool & version = 0.12 .0
9
9
#tool dotnet: ? package = GitVersion . Tool & version = 5.6 .6
10
10
11
11
#tool vswhere& version = 2.8 .4
@@ -111,7 +111,7 @@ Task("Build")
111
111
Verbosity = verbosity
112
112
, ToolPath = msBuildPathExe
113
113
, Configuration = configuration
114
- , ArgumentCustomization = args => args . Append ( "/m" ) . Append ( "/nr:false" ) // The /nr switch tells msbuild to quite once it’ s done
114
+ , ArgumentCustomization = args => args . Append ( "/m" ) . Append ( "/nr:false" ) // The /nr switch tells msbuild to quite once it� s done
115
115
, BinaryLogger = new MSBuildBinaryLogSettings ( ) { Enabled = isLocal }
116
116
} ;
117
117
MSBuild ( solution , msBuildSettings
@@ -130,7 +130,7 @@ Task("dotnetBuild")
130
130
var buildSettings = new DotNetCoreBuildSettings {
131
131
Verbosity = dotnetcoreverbosity ,
132
132
Configuration = configuration ,
133
- ArgumentCustomization = args => args . Append ( "/m" ) . Append ( "/nr:false" ) , // The /nr switch tells msbuild to quite once it’ s done
133
+ ArgumentCustomization = args => args . Append ( "/m" ) . Append ( "/nr:false" ) , // The /nr switch tells msbuild to quite once it� s done
134
134
MSBuildSettings = new DotNetCoreMSBuildSettings ( )
135
135
. SetMaxCpuCount ( 0 )
136
136
. SetConfiguration ( configuration )
@@ -344,19 +344,13 @@ Task("CreateRelease")
344
344
. WithCriteria ( ( ) => ! isPullRequest )
345
345
. Does ( ( ) =>
346
346
{
347
- var username = EnvironmentVariable ( "GITHUB_USERNAME" ) ;
348
- if ( string . IsNullOrEmpty ( username ) )
349
- {
350
- throw new Exception ( "The GITHUB_USERNAME environment variable is not defined." ) ;
351
- }
352
-
353
347
var token = EnvironmentVariable ( "GITHUB_TOKEN" ) ;
354
348
if ( string . IsNullOrEmpty ( token ) )
355
349
{
356
350
throw new Exception ( "The GITHUB_TOKEN environment variable is not defined." ) ;
357
351
}
358
352
359
- GitReleaseManagerCreate ( username , token , "punker76" , repoName , new GitReleaseManagerCreateSettings {
353
+ GitReleaseManagerCreate ( token , "punker76" , repoName , new GitReleaseManagerCreateSettings {
360
354
Milestone = gitVersion . MajorMinorPatch ,
361
355
Name = gitVersion . AssemblySemFileVer ,
362
356
Prerelease = isDevelopBranch ,
0 commit comments