Skip to content

Commit ffd06eb

Browse files
authored
Move mapping file into product repo and add Debian 11 (#16316)
1 parent a3c0339 commit ffd06eb

2 files changed

Lines changed: 44 additions & 1 deletion

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"Packages" : [
3+
{
4+
"url": "microsoft-centos8-prod",
5+
"distribution" : ["centos"],
6+
"PackageFormat" : "PACKAGE_NAME-POWERSHELL_RELEASE-1.rh.x86_64.rpm"
7+
},
8+
{
9+
"url": "microsoft-rhel8.0-prod",
10+
"distribution" : ["trusty"],
11+
"PackageFormat" : "PACKAGE_NAME-POWERSHELL_RELEASE-1.rh.x86_64.rpm"
12+
},
13+
{
14+
"url": "microsoft-rhel7.3-prod",
15+
"distribution" : ["trusty"],
16+
"PackageFormat" : "PACKAGE_NAME-POWERSHELL_RELEASE-1.rh.x86_64.rpm"
17+
},
18+
{
19+
"distribution" : ["stretch"],
20+
"PackageFormat" : "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
21+
},
22+
{
23+
"distribution" : ["buster"],
24+
"PackageFormat" : "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
25+
},
26+
{
27+
"distribution" : ["bionic"],
28+
"PackageFormat" : "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
29+
},
30+
{
31+
"distribution": ["focal"],
32+
"PackageFormat": "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
33+
},
34+
{
35+
"distribution": ["xenial"],
36+
"PackageFormat": "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
37+
},
38+
{
39+
"distribution": ["bullseye"],
40+
"PackageFormat": "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
41+
}
42+
]
43+
}

tools/releaseBuild/azureDevOps/templates/release-PublishPackageMsftCom.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ steps:
3434
LTS = $metadata.LTSRelease.Latest
3535
ForProduction = $true
3636
}
37-
& '$(Pipeline.Workspace)/tools/packages.microsoft.com/releaseLinuxPackages.ps1' @params
37+
& '$(Pipeline.Workspace)/tools/packages.microsoft.com/releaseLinuxPackages.ps1' -MappingFilePath '$(System.DefaultWorkingDirectory)/tools/packages.microsoft.com/mapping.json' @params
3838
displayName: Run release script

0 commit comments

Comments
 (0)