Skip to content

Commit

Permalink
wire previous content delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ealsur committed Apr 5, 2023
1 parent 9519864 commit e53bbdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/nuget-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ parameters:
OutputPath: ''
ReleasePackage: false
BlobVersion: ''
DeletePreviousContent: false

jobs:
- job: GenerateNugetPackages
Expand Down Expand Up @@ -47,7 +48,7 @@ jobs:
BuildDropPath: '$(Build.ArtifactStagingDirectory)/bin/AnyCPU/$(BuildConfiguration)/Microsoft.Azure.Cosmos'

- task: AzureFileCopy@2
displayName: ' Copy Artifacts to Azure SDK Release blob storage'
displayName: 'Copy Artifacts to Azure SDK Release blob storage'
condition: and(succeeded(),ne(${{ parameters.BlobVersion }}, ''))
inputs:
SourcePath: '$(Build.ArtifactStagingDirectory)/bin/AnyCPU/$(BuildConfiguration)/Microsoft.Azure.Cosmos'
Expand All @@ -56,6 +57,7 @@ jobs:
storage: azuresdkpartnerdrops
ContainerName: 'drops'
BlobPrefix: 'cosmosdb/csharp/$(BlobVersion)'
CleanTargetBeforeCopy: DeletePreviousContent

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifacts: Microsoft.Azure.Cosmos'
Expand Down

0 comments on commit e53bbdb

Please sign in to comment.