This commit is contained in:
gnought 2026-02-18 11:23:28 +08:00
parent 55f9ae755e
commit 8fd50fcc98
No known key found for this signature in database
GPG key ID: 04D7C0864CCDDF10

View file

@ -186,7 +186,10 @@ class Store:
git_config = 'protocol.version=2' git_config = 'protocol.version=2'
git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1') git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1')
git_cmd('-c', git_config, 'fetch', 'origin', f'refs/tags/{ref}:refs/tags/{ref}', '--depth=1', check=False) git_cmd(
'-c', git_config, 'fetch', 'origin',
f'refs/tags/{ref}:refs/tags/{ref}', '--depth=1', check=False,
)
git_cmd('checkout', 'FETCH_HEAD') git_cmd('checkout', 'FETCH_HEAD')
git_cmd( git_cmd(
'-c', git_config, 'submodule', 'update', '--init', '--recursive', '-c', git_config, 'submodule', 'update', '--init', '--recursive',