Skip to content

Commit d2e6893

Browse files
committed
release: remove EOL Linux distributions
1 parent a972cd5 commit d2e6893

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

etc/scripts/release.hs

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,7 @@ rules global@Global{..} args = do
136136
mapM_ (\f -> need [releaseDir </> f]) binaryPkgFileNames
137137

138138
distroPhonies ubuntuDistro ubuntuVersions debPackageFileName
139-
distroPhonies debianDistro debianVersions debPackageFileName
140139
distroPhonies centosDistro centosVersions rpmPackageFileName
141-
distroPhonies fedoraDistro fedoraVersions rpmPackageFileName
142140

143141
releaseDir </> "*" <.> uploadExt %> \out -> do
144142
let srcFile = dropExtension out
@@ -239,9 +237,7 @@ rules global@Global{..} args = do
239237
(removeFile out)
240238

241239
debDistroRules ubuntuDistro ubuntuVersions
242-
debDistroRules debianDistro debianVersions
243240
rpmDistroRules centosDistro centosVersions
244-
rpmDistroRules fedoraDistro fedoraVersions
245241

246242
where
247243

@@ -428,28 +424,14 @@ rules global@Global{..} args = do
428424
rpmPackageVersionStr _ = stackVersionStr global
429425

430426
ubuntuVersions =
431-
[ ("12.04", "precise")
432-
, ("14.04", "trusty")
433-
, ("14.10", "utopic")
434-
, ("15.04", "vivid")
435-
, ("15.10", "wily")
436-
, ("16.04", "xenial")
437-
, ("16.10", "yakkety") ]
438-
debianVersions =
439-
[ ("7", "wheezy")
440-
, ("8", "jessie") ]
427+
[ ("14.04", "trusty")
428+
, ("16.04", "xenial") ]
441429
centosVersions =
442430
[ ("7", "el7")
443431
, ("6", "el6") ]
444-
fedoraVersions =
445-
[ ("22", "fc22")
446-
, ("23", "fc23")
447-
, ("24", "fc24") ]
448432

449433
ubuntuDistro = "ubuntu"
450-
debianDistro = "debian"
451434
centosDistro = "centos"
452-
fedoraDistro = "fedora"
453435

454436
anyDistroVersion distro = DistroVersion distro "*" "*"
455437

etc/scripts/vagrant-distros.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22
set -xe
3-
"$(dirname "$0")/with-vagrant.sh" debian-7-amd64 "$* upload-ubuntu-12.04 upload-ubuntu-14.04 upload-ubuntu-16.04 upload-ubuntu-16.10 upload-debian-8"
3+
"$(dirname "$0")/with-vagrant.sh" debian-7-amd64 "$* upload-ubuntu-14.04 upload-ubuntu-16.04"
44
"$(dirname "$0")/with-vagrant.sh" centos-7-x86_64 "$* upload-centos-7"
55
"$(dirname "$0")/with-vagrant.sh" centos-6-x86_64 "$* --binary-variant=gmp4 upload-centos-6"

0 commit comments

Comments
 (0)