Skip to content

Commit

Permalink
fix: add --tags to git fetch to fetch latest git tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed May 20, 2024
1 parent f5fd464 commit ddc137b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acbs/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def git_fetch(info: ACBSSourceInfo, source_location: str, name: str) -> Optional
else:
logging.info('Updating repository...')
subprocess.check_call(
['git', 'fetch', 'origin', '+refs/heads/*:refs/heads/*', '--prune'], cwd=full_path)
['git', 'fetch', 'origin', '+refs/heads/*:refs/heads/*', '--prune', '--tags'], cwd=full_path)
info.source_location = full_path
return info

Expand Down

0 comments on commit ddc137b

Please sign in to comment.