mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 06:27:58 +00:00
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:
parent
9636f28095
commit
4039001d25
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user