diff --git a/test/get_previous_releases.py b/test/get_previous_releases.py index 0ad41648de..19377e7596 100755 --- a/test/get_previous_releases.py +++ b/test/get_previous_releases.py @@ -212,14 +212,11 @@ def build_release(tag, args) -> int: print('Tag {} not found'.format(tag)) return 1 ret = subprocess.run([ - 'git', 'clone', githubUrl, tag + 'git', 'clone', f'--branch={tag}', '--depth=1', githubUrl, tag ]).returncode if ret: return ret with pushd(tag): - ret = subprocess.run(['git', 'checkout', tag]).returncode - if ret: - return ret host = args.host if args.depends: with pushd('depends'):