Skip to content

Commit a4ff9e9

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 9aa1377 commit a4ff9e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,9 @@ steps:
172172
$xml = [Xml] (Get-Content .\Src\StackifyLib\StackifyLib.csproj)
173173
$version = $xml.Project.PropertyGroup.Version
174174
echo $version
175+
$version = "$version".Trim()
175176
echo "##vso[task.setvariable variable=version]$version"
176177
echo "StackifyLib."$version".nupkg"
177-
$versionNew = ($xml.Project.PropertyGroup.Version).Trim()
178-
echo $versionNew
179178
workingDirectory: $(Build.SourcesDirectory)
180179
- task: Veracode@3
181180
displayName: 'Upload and scan: $(Build.ArtifactStagingDirectory)/StackifyLib.$(version).nupkg'

0 commit comments

Comments
 (0)