File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,10 +184,11 @@ Task("PackageUI32")
184184. OnError ( exception => Error ( exception ) ) ;
185185
186186Task ( "DeployReleases" )
187- . WithCriteria ( isRunningInGitHubActions && isMasterBranch && hasGithubToken )
187+ . WithCriteria ( isRunningInGitHubActions && ( isMasterBranch || isDevelopBranch ) && hasGithubToken )
188188 . Does ( ( ) =>
189189 {
190- Information ( $ "Uploading Papercut SMTP 64-bit Release { versionInfo . FullSemVer } ") ;
190+ var releaseType = isMasterBranch ? "Release" : "Pre-release" ;
191+ Information ( $ "Uploading Papercut SMTP 64-bit { releaseType } { versionInfo . FullSemVer } ") ;
191192
192193 var uploadParams = new VpkUploadParams
193194 {
@@ -200,7 +201,7 @@ Task("DeployReleases")
200201
201202 Velopack . UploadGithub ( Context , uploadParams ) ;
202203
203- Information ( $ "Uploading Papercut SMTP 32-bit Release { versionInfo . FullSemVer } ") ;
204+ Information ( $ "Uploading Papercut SMTP 32-bit { releaseType } { versionInfo . FullSemVer } ") ;
204205
205206 uploadParams = new VpkUploadParams
206207 {
You can’t perform that action at this time.
0 commit comments