@@ -9,7 +9,6 @@ parameters:
99stages :
1010- stage : release
1111 displayName : Publish
12- condition : and(succeeded(), eq('${{ parameters.RealSign }}', 'true'))
1312 jobs :
1413 - ${{ if parameters.ArchiveSymbols }} :
1514 - job : symbol_archive
@@ -34,7 +33,10 @@ stages:
3433
3534 - ${{ if true }} : # leave the condition to avoid merge conflicts later.
3635 - job : push
37- displayName : azure-public/vssdk feed
36+ ${{ if parameters.RealSign }} :
37+ displayName : azure-public/vssdk feed
38+ ${{ else }} :
39+ displayName : devdiv/vs-impl feed # Leave this as-is, since non-signed builds must not be pushed to public feeds.
3840 ${{ if parameters.ArchiveSymbols }} :
3941 dependsOn : symbol_archive
4042 pool :
@@ -49,8 +51,12 @@ stages:
4951 packagesToPush : ' $(Pipeline.Workspace)/deployables-Windows/NuGet/*.nupkg'
5052 packageParentPath : $(Pipeline.Workspace)/deployables-Windows/NuGet
5153 allowPackageConflicts : true
52- nuGetFeedType : external
53- publishFeedCredentials : azure-public/vssdk
54+ ${{ if parameters.RealSign }} :
55+ nuGetFeedType : external
56+ publishFeedCredentials : azure-public/vssdk
57+ ${{ else }} :
58+ nuGetFeedType : internal
59+ publishVstsFeed : vs-impl # Leave this as-is, since non-signed builds must not be pushed to public feeds.
5460 steps :
5561 - checkout : none
5662 - download : current
@@ -61,7 +67,8 @@ stages:
6167 - download : current
6268 artifact : deployables-Windows
6369 displayName : 🔻 Download deployables-Windows artifact
64- - template : WIFtoPATauth.yml
65- parameters :
66- wifServiceConnectionName : azure-public/vside package push
67- deadPATServiceConnectionId : 42175e93-c771-4a4f-a132-3cca78f44b3b # azure-public/vssdk
70+ - ${{ if parameters.RealSign }} :
71+ - template : WIFtoPATauth.yml
72+ parameters :
73+ wifServiceConnectionName : azure-public/vside package push
74+ deadPATServiceConnectionId : 42175e93-c771-4a4f-a132-3cca78f44b3b # azure-public/vssdk
0 commit comments