From 4039001d25a8ecee7b5b870d794829100baa0949 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Fri, 9 Nov 2018 08:33:17 -0600 Subject: [PATCH] trivial: ci: fix flatpak build The submodules need to checkout the latest remote commit, not the latest one that was recorded by git metadata. --- contrib/ci/flatpak.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/ci/flatpak.py b/contrib/ci/flatpak.py index ee8ec0272..91aa2bfa1 100755 --- a/contrib/ci/flatpak.py +++ b/contrib/ci/flatpak.py @@ -6,11 +6,11 @@ import shutil def prepare (target): #clone the flatpak json - cmd = ['git', 'submodule', 'update', 'contrib/flatpak'] + cmd = ['git', 'submodule', 'update', '--remote', 'contrib/flatpak'] subprocess.run (cmd, check=True) #clone the submodules for that - cmd = ['git', 'submodule', 'update', '--init', 'shared-modules/'] + cmd = ['git', 'submodule', 'update', '--init', '--remote', 'shared-modules/'] subprocess.run (cmd, cwd='contrib/flatpak', check=True) #parse json