Align the publishing properties between publish and copy latest and use the right key for the cli storage blob.
This commit is contained in:
parent
4556ac7915
commit
be52214b62
2 changed files with 6 additions and 5 deletions
|
@ -255,14 +255,15 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: 'DotNet-Engineering-Services_KeyVault'
|
azureSubscription: 'DotNet-Engineering-Services_KeyVault'
|
||||||
KeyVaultName: EngKeyVault
|
KeyVaultName: EngKeyVault
|
||||||
SecretsFilter: 'dotnetfeed-storage-access-key-1,dotnetclichecksums-storage-key'
|
SecretsFilter: 'dotnetcli-storage-key,dotnetclichecksums-storage-key'
|
||||||
condition: succeeded()
|
condition: succeeded()
|
||||||
|
|
||||||
- script: eng/CopyToLatest.cmd
|
- script: eng/CopyToLatest.cmd
|
||||||
/p:DotNetPublishBlobFeedUrl=$(PB_PublishBlobFeedUrl)
|
/p:DotnetPublishSdkAssetsBlobFeedUrl=$(PB_PublishBlobFeedUrl)
|
||||||
/p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1)
|
/p:DotNetPublishSdkAssetsBlobFeedKey=$(dotnetcli-storage-key)
|
||||||
/p:DotnetPublishChecksumsBlobFeedUrl=$(PB_PublishChecksumsBlobFeedUrl)
|
/p:DotnetPublishChecksumsBlobFeedUrl=$(PB_PublishChecksumsBlobFeedUrl)
|
||||||
/p:DotNetPublishChecksumsBlobFeedKey=$(dotnetclichecksums-storage-key)
|
/p:DotNetPublishChecksumsBlobFeedKey=$(dotnetclichecksums-storage-key)
|
||||||
|
displayName: Copy to latest
|
||||||
|
|
||||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
- template: /eng/common/templates/phases/publish-build-assets.yml
|
- template: /eng/common/templates/phases/publish-build-assets.yml
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<Target Name="FinalizeBuild"
|
<Target Name="FinalizeBuild"
|
||||||
DependsOnTargets="SetSdkVersionInfo"
|
DependsOnTargets="SetSdkVersionInfo"
|
||||||
AfterTargets="Build">
|
AfterTargets="Build">
|
||||||
<CopyBlobsToLatest FeedUrl="$(DotNetPublishBlobFeedUrl)"
|
<CopyBlobsToLatest FeedUrl="$(DotnetPublishSdkAssetsBlobFeedUrl)"
|
||||||
AccountKey="$(DotNetPublishBlobFeedKey)"
|
AccountKey="$(DotNetPublishSdkAssetsBlobFeedKey)"
|
||||||
NugetVersion="$(FullNugetVersion)"
|
NugetVersion="$(FullNugetVersion)"
|
||||||
Channel="$(Channel)"
|
Channel="$(Channel)"
|
||||||
CommitHash="$(GitCommitHash)" />
|
CommitHash="$(GitCommitHash)" />
|
||||||
|
|
Loading…
Reference in a new issue