Skip to content

Commit 4743540

Browse files
Copilotvslee
andauthored
Fix prerelease suffix in NuGet package generation (#885)
* Initial plan * Fix NuGet prerelease suffix: use MSBuild property syntax Co-authored-by: vslee <366757+vslee@users.noreply.github.com> * Use DotNetCoreCLI@2 native parameters for pack configuration Co-authored-by: vslee <366757+vslee@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: vslee <366757+vslee@users.noreply.github.com>
1 parent ed7fa18 commit 4743540

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ jobs:
7474
inputs:
7575
command: pack
7676
packagesToPack: 'src/ExchangeSharp/ExchangeSharp.csproj'
77+
configuration: $(BuildConfiguration)
7778
outputDir: '$(Build.ArtifactStagingDirectory)'
78-
arguments: '--configuration $(BuildConfiguration) --version-suffix prerelease-$(PipelineDate) --no-build'
79+
nobuild: true
80+
buildProperties: 'VersionSuffix=prerelease-$(PipelineDate)'
7981
- task: NuGetAuthenticate@0
8082
displayName: 'NuGet Authenticate'
8183
- task: DotNetCoreCLI@2

0 commit comments

Comments
 (0)