Skip to content

Commit

Permalink
Cleanup of the release pipeline: removed a task that didn't work and …
Browse files Browse the repository at this point in the history
…a switch in Nuget Pack that wasn't used (#333)

* While testing csproj PR, saw a couple places that could be cleaned up in release pipeline.  Removed copy task and the $(BuildConfiguration) to the nuget pack task

* Remove debug statements the disabled push to nuget and garnet release.  All should work now when ran.
  • Loading branch information
darrenge authored Apr 26, 2024
1 parent 0f82fb6 commit 486bbef
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .azure/pipelines/azure-pipelines-external-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,12 @@ jobs:
}
]
- task: CopyFiles@2
displayName: 'Copy Files for Nuget package to Artifacts dir: $(build.artifactstagingdirectory)'
enabled: True
inputs:
Contents: '**/bin/AnyCPU/$(BuildConfiguration)/**/*'
TargetFolder: $(build.artifactstagingdirectory)

- task: NuGetCommand@2
displayName: nuget pack Garnet
enabled: True
inputs:
command: custom
arguments: pack Garnet.nuspec -OutputDirectory $(Build.ArtifactStagingDirectory) -Properties Configuration=$(BuildConfiguration) -Symbols -SymbolPackageFormat snupkg -version $(Build.BuildNumber) -Verbosity Detailed
arguments: pack Garnet.nuspec -OutputDirectory $(Build.ArtifactStagingDirectory) -Symbols -SymbolPackageFormat snupkg -version $(Build.BuildNumber) -Verbosity Detailed

# Do after Nuget Pack so not part of Nuget Pack
- task: PowerShell@2
Expand Down

0 comments on commit 486bbef

Please sign in to comment.