Skip to content

Commit bd00ab2

Browse files
committed
GIT: Add fetching tags to mbed update
1 parent bf47d92 commit bd00ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def publish(all_refs=None):
577577

578578
def fetch():
579579
log("Fetching revisions from remote repository to \"%s\"" % os.path.basename(os.getcwd()))
580-
popen([git_cmd, 'fetch', '--all'] + (['-v'] if very_verbose else ([] if verbose else ['-q'])))
580+
popen([git_cmd, 'fetch', '--all', '--tags'] + (['-v'] if very_verbose else ([] if verbose else ['-q'])))
581581

582582
def discard(clean_files=False):
583583
log("Discarding local changes in \"%s\"" % os.path.basename(os.getcwd()))

0 commit comments

Comments
 (0)