← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~ruinedyourlife/launchpad:fix-craft-build-output-file into launchpad:master

 

Quentin Debhi has proposed merging ~ruinedyourlife/launchpad:fix-craft-build-output-file into launchpad:master.

Commit message:
Fix craft build output file

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~ruinedyourlife/launchpad/+git/launchpad/+merge/474876
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~ruinedyourlife/launchpad:fix-craft-build-output-file into launchpad:master.
diff --git a/lib/lp/archiveuploader/craftrecipeupload.py b/lib/lp/archiveuploader/craftrecipeupload.py
index 917123b..5e9d285 100644
--- a/lib/lp/archiveuploader/craftrecipeupload.py
+++ b/lib/lp/archiveuploader/craftrecipeupload.py
@@ -45,7 +45,7 @@ class CraftRecipeUpload:
                 # All relevant files will be in a subdirectory.
                 continue
             for craft_file in sorted(filenames):
-                if craft_file.endswith(".craft"):
+                if craft_file.endswith(".tar.xz"):
                     found_craft = True
                 craft_paths.append(os.path.join(dirpath, craft_file))