trivial: ci: fix flatpak build

The submodules need to checkout the latest remote commit, not the latest
one that was recorded by git metadata.
This commit is contained in:
Mario Limonciello 2018-11-09 08:33:17 -06:00 committed by Richard Hughes
parent 9636f28095
commit 4039001d25

View File

@ -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