From 3cf7085045165bca3a38f3f68eccc4ca8192b922 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 9 Nov 2020 11:22:48 +0100 Subject: [PATCH] Adapt for el8 --- fws/releaser/main.py | 2 +- releasers.conf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fws/releaser/main.py b/fws/releaser/main.py index 2e30f4a..b47f276 100644 --- a/fws/releaser/main.py +++ b/fws/releaser/main.py @@ -26,7 +26,7 @@ class RsyncSRPMSReleaser(RsyncReleaser): prefix="temp_dir=", **kwargs): if target == 'branch': target = run_command('git symbolic-ref --short HEAD') - if target in [ 'el5', 'el6', 'el7', 'sme9', 'sme10' ]: + if target in [ 'el5', 'el6', 'el7', 'el8','sme9', 'sme10' ]: # Call ourselve with the new target self.__init__(name, tag, build_dir, config, user_config, target, releaser_config, no_cleanup, test, diff --git a/releasers.conf b/releasers.conf index 32d2bdb..0647c09 100644 --- a/releasers.conf +++ b/releasers.conf @@ -13,6 +13,11 @@ releaser = fws.releaser.RsyncSRPMSReleaser srpm_disttag = .fws rsync = build.firewall-services.com:/var/lib/build/uploads/el7 +[el8] +releaser = fws.releaser.RsyncSRPMSReleaser +srpm_disttag = .fws +rsync = build.firewall-services.com:/var/lib/build/uploads/el8 + [sme9] releaser = fws.releaser.RsyncSRPMSReleaser srpm_disttag = .fws.sme