Skip to content

Commit 39ef6b9

Browse files
committed
Work CI-CD
- github release is now updated on tag build - publish to nuget doesn't happen anymore on tag builds. ***NO_CI***
1 parent bc0abb3 commit 39ef6b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ jobs:
262262

263263
# push NuGet class lib package to NuGet (happens on all builds except PRs)
264264
- task: NuGetCommand@2
265-
condition: and( succeeded(), eq(variables['System.PullRequest.PullRequestId'], '') )
265+
condition: and( succeeded(), eq(variables['System.PullRequest.PullRequestId'], ''), not( startsWith(variables['Build.SourceBranch'], 'refs/tags/v') ) )
266266
displayName: Push NuGet packages to NuGet
267267
continueOnError: true
268268
inputs:
@@ -303,6 +303,7 @@ jobs:
303303
assetUploadMode: replace
304304
isPreRelease: false
305305
addChangeLog: false
306+
action: edit
306307

307308
##################################
308309
# report build failure to Discord

0 commit comments

Comments
 (0)