Skip to content

Commit

Permalink
Adjusted the pipelines to publish the correct project. (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timovzl authored Apr 11, 2022
1 parent 606e125 commit 7be9a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipeline-publish-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ steps:
# **/*Tests*.csproj

# DotNet Pack needs to be run from a script in order to use --version-suffix
- script: dotnet pack $(Build.SourcesDirectory)/AmbientContexts/AmbientContexts.csproj --no-restore --configuration Release --version-suffix "preview-$(Build.BuildNumber)" -o $(Build.ArtifactStagingDirectory)
- script: dotnet pack $(Build.SourcesDirectory)/DomainModeling/DomainModeling.csproj --no-restore --configuration Release --version-suffix "preview-$(Build.BuildNumber)" -o $(Build.ArtifactStagingDirectory)
displayName: 'DotNet Pack'

- task: NuGetCommand@2
Expand Down
2 changes: 1 addition & 1 deletion pipeline-publish-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ steps:
projects: |
**/*Tests*.csproj
- script: dotnet pack $(Build.SourcesDirectory)/AmbientContexts/AmbientContexts.csproj /WarnAsError --no-restore --configuration Release -o $(Build.ArtifactStagingDirectory)
- script: dotnet pack $(Build.SourcesDirectory)/DomainModeling/DomainModeling.csproj /WarnAsError --no-restore --configuration Release -o $(Build.ArtifactStagingDirectory)
displayName: 'DotNet Pack'

- task: NuGetCommand@2
Expand Down

0 comments on commit 7be9a50

Please sign in to comment.