Skip to content

Commit

Permalink
package
Browse files Browse the repository at this point in the history
  • Loading branch information
majorimi committed Sep 24, 2022
1 parent 87c13c6 commit aa62147
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions azure-pipelines-Nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,21 @@ jobs:
projects: '**/*.Tests.csproj'
arguments: '--configuration $(buildConfiguration)'

- task: DotNetCoreCLI@2
displayName: 'dotnet pack'
inputs:
command: 'pack'
packagesToPack: 'src/Majorsoft.CQRS.Repositories/Majorsoft.CQRS.Repositories.csproj'
packDirectory: '$(Build.ArtifactStagingDirectory)/nupkgs'
nobuild: false
includesymbols: true
versioningScheme: 'byEnvVar'
versionEnvVar: '$(AssemblyVersion)$(PreviewPackageVersion)'
#- task: DotNetCoreCLI@2
# displayName: 'dotnet pack'
# inputs:
# command: 'pack'
# packagesToPack: 'src/Majorsoft.CQRS.Repositories/Majorsoft.CQRS.Repositories.csproj'
# packDirectory: '$(Build.ArtifactStagingDirectory)/nupkgs'
# nobuild: false
# includesymbols: true
# versioningScheme: 'byEnvVar'
# versionEnvVar: '$(AssemblyVersion)$(PreviewPackageVersion)'

- task: DotNetCoreCLI@2
displayName: 'dotnet upload Nuget'
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/nupkgs/*.nupkg'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: '4f8b1f2e-37e5-4c51-b721-13f56be6a30d'

0 comments on commit aa62147

Please sign in to comment.