@@ -27,22 +27,25 @@ jobs:
2727 dir "$(Build.SourcesDirectory)\dist"
2828 displayName: 'List contents of dist directory'
2929
30- # - task: EsrpRelease@9
31- # displayName: 'ESRP Release'
32- # inputs:
33- # connectedservicename: '$(ESRPConnectedServiceName)'
34- # usemanagedidentity: true
35- # keyvaultname: '$(AuthAKVName)'
36- # signcertname: '$(AuthSignCertName)'
37- # clientid: '$(EsrpClientId)'
38- # Intent: 'PackageDistribution'
39- # # Dummy content type to make it Maven release (NOT PyPI)
40- # ContentType: 'Maven'
41- # ContentSource: 'Folder'
42- # FolderLocation: '$(Build.SourcesDirectory)/dist'
43- # WaitForReleaseCompletion: true
44- # Owners: '$(owner)'
45- # Approvers: '$(approver)'
46- # ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
47- # MainPublisher: 'ESRPRELPACMAN'
48- # DomainTenantId: '$(DomainTenantId)'
30+ - task : EsrpRelease@9
31+ displayName : ' ESRP Release'
32+ inputs :
33+ connectedservicename : ' $(ESRPConnectedServiceName)'
34+ usemanagedidentity : true
35+ keyvaultname : ' $(AuthAKVName)'
36+ signcertname : ' $(AuthSignCertName)'
37+ clientid : ' $(EsrpClientId)'
38+ Intent : ' PackageDistribution'
39+ # Changing content type to Maven release (NOT PyPI) since we want to do dummy release
40+ # for ESRP testing purposes, not for actual PyPI distribution.
41+ # This is a workaround to allow ESRP to process the release without actual PyPI content
42+ # and to avoid ESRP validation errors.
43+ ContentType : ' Maven'
44+ ContentSource : ' Folder'
45+ FolderLocation : ' $(Build.SourcesDirectory)/dist'
46+ WaitForReleaseCompletion : true
47+ Owners : ' $(owner)'
48+ Approvers : ' $(approver)'
49+ ServiceEndpointUrl : ' https://api.esrp.microsoft.com'
50+ MainPublisher : ' ESRPRELPACMAN'
51+ DomainTenantId : ' $(DomainTenantId)'
0 commit comments