[releng] convert-to-tarballs: Treat zip archives the same as tarballs



commit 4349a16a00d378cfa2cd6af8c4683f8bf9ed996c
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Apr 16 20:52:31 2018 -0500

    convert-to-tarballs: Treat zip archives the same as tarballs

 tools/smoketesting/convert-to-tarballs.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index ef2cffa..ea8acb3 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -686,7 +686,9 @@ class ConvertToTarballs:
         if not sources:
             print("IGNORE element without sources {}".format(basename))
             return
-        if sources[0].get('kind', None) == 'tar':
+
+        kind = sources[0].get('kind', None)
+        if kind == 'tar' or kind == 'zip':
 
             #
             # The project already uses a tarball, this could be either a redundant


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]