Compare commits

..
2 Commits
Author SHA1 Message Date
pancake daeba4ebcf Release 0.5.9 2024-08-31 00:03:48 +02:00
Eli Array Minkoff 5578bee417 Attempt to pull new tags if fetching a tag fails 2024-05-08 00:48:38 +02:00
2 changed files with 7 additions and 2 deletions

No files matched your search

+6 -1
View File
@@ -81,7 +81,12 @@ def git_fetch(url, version, source_path):
f"Verify the source path is not dirty. Error: {err}") \
from err
if version != "git":
repo.git.checkout(version)
try:
repo.git.checkout(version)
except git.GitCommandError:
# try again after pulling new tags from origin
repo.git.fetch("origin", "--tags")
repo.git.checkout(version)
sms = repo.submodules
for sm in sms:
if not sm.module_exists():
+1 -1
View File
@@ -1 +1 @@
0.5.8
0.5.9