Skip to content

Commit

Permalink
Merge pull request #171 from kobotoolbox/git-fetch-tags
Browse files Browse the repository at this point in the history
Add `--tags` argument to `git fetch`
  • Loading branch information
jnm committed Sep 29, 2021
2 parents ab1b96a + 9d3e713 commit 4b45aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def update_kobodocker(dict_=None):
dict_ = config.get_dict()

# fetch new tags and prune
git_command = ['git', 'fetch', '-p']
git_command = ['git', 'fetch', '--prune', '--tags']
CLI.run_command(git_command, cwd=dict_['kobodocker_path'])

# checkout branch
Expand All @@ -101,7 +101,7 @@ def update_kobodocker(dict_=None):
@staticmethod
def update_koboinstall(version):
# fetch new tags and prune
git_fetch_prune_command = ['git', 'fetch', '-p']
git_fetch_prune_command = ['git', 'fetch', '--prune', '--tags']
CLI.run_command(git_fetch_prune_command)

# checkout branch
Expand Down

0 comments on commit 4b45aee

Please sign in to comment.