Skip to content

Commit 7f3ba2c

Browse files
Copilotvslee
andcommitted
Fix DotNetCoreCLI pack task parameters: use outputDir instead of packDirectory
Co-authored-by: vslee <366757+vslee@users.noreply.github.com>
1 parent 4b7be55 commit 7f3ba2c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,8 @@ jobs:
7575
command: pack
7676
packagesToPack: 'src/ExchangeSharp/ExchangeSharp.csproj'
7777
configuration: '$(BuildConfiguration)'
78-
packDirectory: '$(Build.ArtifactStagingDirectory)'
79-
buildProperties: 'VersionSuffix=prerelease-$(PipelineDate)'
80-
nobuild: true
78+
outputDir: '$(Build.ArtifactStagingDirectory)'
79+
arguments: '--version-suffix prerelease-$(PipelineDate) --no-build'
8180
- task: NuGetToolInstaller@1
8281
- task: NuGetAuthenticate@0
8382
displayName: 'NuGet Authenticate'

0 commit comments

Comments
 (0)