Skip to content

Commit 424521c

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent b1b6e7e commit 424521c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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'))

0 commit comments

Comments
 (0)