@@ -76,15 +76,15 @@ stages:
76
76
displayName : Dotnet Publish Linux x64
77
77
inputs :
78
78
command : ' publish'
79
- arguments : ' -c $(BuildConfiguration) -o $(Build.BinariesDirectory)/linux/ApplicationInspector_$(ReleaseVersion) -r linux-x64 /p:DebugType=None '
79
+ arguments : ' -c $(BuildConfiguration) -o $(Build.BinariesDirectory)/linux/ApplicationInspector_$(ReleaseVersion) -r linux-x64'
80
80
publishWebProjects : false
81
81
zipAfterPublish : false
82
82
workingDirectory : ' AppInspector.CLI'
83
83
- task : DotNetCoreCLI@2
84
84
displayName : Dotnet Publish MacOS x64
85
85
inputs :
86
86
command : ' publish'
87
- arguments : ' -c $(BuildConfiguration) -o $(Build.BinariesDirectory)/macos/ApplicationInspector_$(ReleaseVersion) -r osx-x64 /p:DebugType=None '
87
+ arguments : ' -c $(BuildConfiguration) -o $(Build.BinariesDirectory)/macos/ApplicationInspector_$(ReleaseVersion) -r osx-x64'
88
88
publishWebProjects : false
89
89
zipAfterPublish : false
90
90
workingDirectory : ' AppInspector.CLI'
@@ -134,15 +134,15 @@ stages:
134
134
displayName : Dotnet Publish Windows x86
135
135
inputs :
136
136
command : ' publish'
137
- arguments : ' -c $(BuildConfiguration) -o $(Build.BinariesDirectory)\windows\ApplicationInspector_$(ReleaseVersion) -r win-x86 /p:DebugType=None '
137
+ arguments : ' -c $(BuildConfiguration) -o $(Build.BinariesDirectory)\windows\ApplicationInspector_$(ReleaseVersion) -r win-x86'
138
138
publishWebProjects : false
139
139
zipAfterPublish : false
140
140
workingDirectory : ' AppInspector.CLI'
141
141
- task : DotNetCoreCLI@2
142
142
displayName : Dotnet Build .NET Core App
143
143
inputs :
144
144
command : ' build'
145
- arguments : ' -c $(BuildConfiguration) -o $(Build.BinariesDirectory)\netcoreapp\ApplicationInspector_$(ReleaseVersion) /p:DebugType=None '
145
+ arguments : ' -c $(BuildConfiguration) -o $(Build.BinariesDirectory)\netcoreapp\ApplicationInspector_$(ReleaseVersion)'
146
146
publishWebProjects : false
147
147
zipAfterPublish : false
148
148
workingDirectory : ' AppInspector.CLI'
@@ -151,13 +151,13 @@ stages:
151
151
inputs :
152
152
command : ' custom'
153
153
custom : ' pack'
154
- arguments : ' AppInspector -c Release -o $(Build.BinariesDirectory)\nuget\ApplicationInspector_$(ReleaseVersion) /p:DebugType=None '
154
+ arguments : ' AppInspector -c Release -o $(Build.BinariesDirectory)\nuget\ApplicationInspector_$(ReleaseVersion)'
155
155
- task : DotNetCoreCLI@2
156
156
displayName : Pack Nupkg (Dotnet Tool)
157
157
inputs :
158
158
command : ' custom'
159
159
custom : ' pack'
160
- arguments : ' AppInspector.CLI -c Release -o $(Build.BinariesDirectory)\nuget\ApplicationInspector_$(ReleaseVersion) /p:DebugType=None '
160
+ arguments : ' AppInspector.CLI -c Release -o $(Build.BinariesDirectory)\nuget\ApplicationInspector_$(ReleaseVersion)'
161
161
- task : AntiMalware@3
162
162
displayName : Anti-Malware Scan
163
163
inputs :
@@ -395,7 +395,7 @@ stages:
395
395
inputs :
396
396
ConnectedServiceName : ' AppInspector_CodeSign'
397
397
FolderPath : ' $(Build.BinariesDirectory)/nuget/ApplicationInspector_$(ReleaseVersion)'
398
- Pattern : ' *.nupkg'
398
+ Pattern : ' *.nupkg, *.snupkg '
399
399
signConfigType : ' inlineSignParams'
400
400
inlineOperation : |
401
401
[
@@ -466,6 +466,12 @@ stages:
466
466
inputs :
467
467
targetType : ' inline'
468
468
script : ' mv $env:BUILD_BINARIESDIRECTORY/nuget/ApplicationInspector_$(ReleaseVersion)/*.nupkg $env:BUILD_STAGINGDIRECTORY/'
469
+ - task : PowerShell@2
470
+ displayName : Move Symbols Packages
471
+ inputs :
472
+ targetType : ' inline'
473
+ script : ' mv $env:BUILD_BINARIESDIRECTORY/nuget/ApplicationInspector_$(ReleaseVersion)/*.snupkg $env:BUILD_STAGINGDIRECTORY/'
474
+
469
475
- task : PublishPipelineArtifact@1
470
476
displayName : Publish Signed Artifacts to Pipeline
471
477
inputs :
@@ -488,7 +494,7 @@ stages:
488
494
- task : NuGetCommand@2
489
495
inputs :
490
496
command : ' push'
491
- packagesToPush : ' $(Build.StagingDirectory)/*.nupkg'
497
+ packagesToPush : ' $(Build.StagingDirectory)/*.nupkg, $(Build.StagingDirectory)/*.snupkg '
492
498
nuGetFeedType : ' external'
493
499
publishFeedCredentials : ' CST-E Nuget CI'
494
500
verbosityPush : ' Normal'
0 commit comments