File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,12 +144,12 @@ jobs:
144144 script : |
145145 dotnet --version
146146 mkdir $(Build.ArtifactStagingDirectory)\nupkg
147- Write-Host $(PackageVersion)
148147 Write-Host $(PackageVersionCLI)
149- $commandSample = "dotnet pack $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj -c $(buildConfiguration) -o $(Build.ArtifactStagingDirectory)\nupkg /p:PackAsTool=true /p:VersionPrefix=$(PackageVersionCLI) /p:SymbolPackageFormat=snupkg /p:IncludeSymbols=True --version-suffix =alpha"
148+ $commandSample = "dotnet pack $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj -c $(buildConfiguration) -o $(Build.ArtifactStagingDirectory)\nupkg /p:PackAsTool=true /p:VersionPrefix=$(PackageVersionCLI) /p:SymbolPackageFormat=snupkg /p:IncludeSymbols=True /p:VersionSuffix =alpha"
150149 Write-Host $commandSample
151150 Invoke-Expression $commandSample
152- #& dotnet pack $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj -c $(buildConfiguration) -o $(Build.ArtifactStagingDirectory)\nupkg /p:PackAsTool=true /p:VersionPrefix=$(PackageVersionCLI) /p:SymbolPackageFormat=snupkg /p:IncludeSymbols=True --version-suffix=alpha
151+
152+ & dotnet pack $(Build.SourcesDirectory)\src\Generator.Client.CommandLine\Generator.Client.CommandLine.csproj -c $(buildConfiguration) -o $(Agent.TempDirectory)\nupkg /p:PackAsTool=true /p:VersionPrefix=9.8.7 /p:SymbolPackageFormat=snupkg /p:IncludeSymbols=True /p:VersionSuffix=alpha
153153
154154 - task : CopyFiles@2
155155 condition : and(succeeded(), eq(variables['BUILD_PUBLISH_ARTIFACTS'],'True'))
You can’t perform that action at this time.
0 commit comments