[releng/abderrahim/40.beta: 3/4] convert-to-tarballs: allow creating the branch specific config before the .0 release
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [releng/abderrahim/40.beta: 3/4] convert-to-tarballs: allow creating the branch specific config before the .0 release
- Date: Wed, 24 Feb 2021 13:20:47 +0000 (UTC)
commit 533fddd2398ea7b6cf97375750971cd2d129b6d2
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Wed Feb 24 14:17:08 2021 +0100
convert-to-tarballs: allow creating the branch specific config before the .0 release
tools/smoketesting/convert-to-tarballs.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index c42ec58..566f913 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -273,8 +273,9 @@ def main(args):
print("ERROR: Version number is not valid", file=sys.stderr)
exit(1)
- if is_stable:
- config = Options(os.path.join(program_dir, 'tarball-conversion-{}.config'.format(branch)))
+ branch_config = 'tarball-conversion-{}.config'.format(branch)
+ if is_stable or os.path.exists(branch_config):
+ config = Options(os.path.join(program_dir, branch_config))
else:
config = Options(os.path.join(program_dir, 'tarball-conversion.config'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]