Add support for Debian 10

Debian 10 is due to be released on July 6, 2019. In order to ensure that
we can build packages for the release planned in early July, add support
for building on and uploading for Debian 10.
This commit is contained in:
brian m. carlson 2019-06-27 15:52:13 +00:00
parent 4b7c0d460d
commit ac404635b0
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1
3 changed files with 11 additions and 7 deletions

@ -55,7 +55,7 @@ done
if [[ ${#IMAGES[@]} == 0 ]]; then if [[ ${#IMAGES[@]} == 0 ]]; then
# If you change this list, change script/upload as well. # If you change this list, change script/upload as well.
IMAGES=(centos_6 centos_7 debian_8 debian_9) IMAGES=(centos_6 centos_7 debian_8 debian_9 debian_10)
fi fi
mkdir -p "${PACKAGE_DIR}" mkdir -p "${PACKAGE_DIR}"

@ -68,7 +68,6 @@ $distro_name_map = {
], ],
"debian/9" => [ "debian/9" => [
"debian/stretch", # EOL June 2022 "debian/stretch", # EOL June 2022
"debian/buster", # Current
"linuxmint/sarah", # EOL April 2021 "linuxmint/sarah", # EOL April 2021
"linuxmint/serena", # EOL April 2021 "linuxmint/serena", # EOL April 2021
"linuxmint/sonya", # EOL April 2021 "linuxmint/sonya", # EOL April 2021
@ -83,6 +82,9 @@ $distro_name_map = {
"ubuntu/cosmic", # EOL July 2019 "ubuntu/cosmic", # EOL July 2019
"ubuntu/disco", # EOL April 2020 "ubuntu/disco", # EOL April 2020
], ],
"debian/10" => [
"debian/buster", # Current
]
} }
# caches distro id lookups # caches distro id lookups
@ -125,11 +127,12 @@ package_files.each do |full_path|
next if full_path.include?("SRPM") || full_path.include?("i386") || full_path.include?("i686") next if full_path.include?("SRPM") || full_path.include?("i386") || full_path.include?("i686")
next unless full_path =~ /\/git-lfs[-|_]\d/ next unless full_path =~ /\/git-lfs[-|_]\d/
os, distro = case full_path os, distro = case full_path
when /debian\/8/ then ["Debian 8", "debian/jessie"] when /debian\/8/ then ["Debian 8", "debian/jessie"]
when /debian\/9/ then ["Debian 9", "debian/stretch"] when /debian\/9/ then ["Debian 9", "debian/stretch"]
when /centos\/5/ then ["RPM RHEL 5/CentOS 5", "el/5"] when /debian\/10/ then ["Debian 10", "debian/buster"]
when /centos\/6/ then ["RPM RHEL 6/CentOS 6", "el/6"] when /centos\/5/ then ["RPM RHEL 5/CentOS 5", "el/5"]
when /centos\/7/ then ["RPM RHEL 7/CentOS 7", "el/7"] when /centos\/6/ then ["RPM RHEL 6/CentOS 6", "el/6"]
when /centos\/7/ then ["RPM RHEL 7/CentOS 7", "el/7"]
end end
next unless os next unless os

@ -149,6 +149,7 @@ Up to date packages are available on [PackageCloud](https://packagecloud.io/gith
[RPM RHEL 7/CentOS 7](https://packagecloud.io/github/git-lfs/packages/el/7/git-lfs-VERSION-1.el7.x86_64.rpm/download) [RPM RHEL 7/CentOS 7](https://packagecloud.io/github/git-lfs/packages/el/7/git-lfs-VERSION-1.el7.x86_64.rpm/download)
[Debian 8](https://packagecloud.io/github/git-lfs/packages/debian/jessie/git-lfs_VERSION_amd64.deb/download) [Debian 8](https://packagecloud.io/github/git-lfs/packages/debian/jessie/git-lfs_VERSION_amd64.deb/download)
[Debian 9](https://packagecloud.io/github/git-lfs/packages/debian/stretch/git-lfs_VERSION_amd64.deb/download) [Debian 9](https://packagecloud.io/github/git-lfs/packages/debian/stretch/git-lfs_VERSION_amd64.deb/download)
[Debian 10](https://packagecloud.io/github/git-lfs/packages/debian/buster/git-lfs_VERSION_amd64.deb/download)
## SHA-256 hashes: ## SHA-256 hashes:
EOM EOM