Skip to content

Commit

Permalink
Move mapping file into product repo and add Debian 11 (PowerShell#16316)
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisEz13 authored and TrapGodBrim committed Jan 19, 2022
1 parent 759db36 commit a5ca934
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions tools/packages.microsoft.com/mapping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"Packages" : [
{
"url": "microsoft-centos8-prod",
"distribution" : ["centos"],
"PackageFormat" : "PACKAGE_NAME-POWERSHELL_RELEASE-1.rh.x86_64.rpm"
},
{
"url": "microsoft-rhel8.0-prod",
"distribution" : ["trusty"],
"PackageFormat" : "PACKAGE_NAME-POWERSHELL_RELEASE-1.rh.x86_64.rpm"
},
{
"url": "microsoft-rhel7.3-prod",
"distribution" : ["trusty"],
"PackageFormat" : "PACKAGE_NAME-POWERSHELL_RELEASE-1.rh.x86_64.rpm"
},
{
"distribution" : ["stretch"],
"PackageFormat" : "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
},
{
"distribution" : ["buster"],
"PackageFormat" : "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
},
{
"distribution" : ["bionic"],
"PackageFormat" : "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
},
{
"distribution": ["focal"],
"PackageFormat": "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
},
{
"distribution": ["xenial"],
"PackageFormat": "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
},
{
"distribution": ["bullseye"],
"PackageFormat": "PACKAGE_NAME_POWERSHELL_RELEASE-1.deb_amd64.deb"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ steps:
LTS = $metadata.LTSRelease.Latest
ForProduction = $true
}
& '$(Pipeline.Workspace)/tools/packages.microsoft.com/releaseLinuxPackages.ps1' @params
& '$(Pipeline.Workspace)/tools/packages.microsoft.com/releaseLinuxPackages.ps1' -MappingFilePath '$(System.DefaultWorkingDirectory)/tools/packages.microsoft.com/mapping.json' @params
displayName: Run release script

0 comments on commit a5ca934

Please sign in to comment.