mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
Merge pull request #303 from mirzal/encourage-follow-tags
Encourage usage of git push --follow-tags
This commit is contained in:
commit
eaa62c7172
2 changed files with 2 additions and 2 deletions
|
@ -604,7 +604,7 @@ def check_tag_exists(tag, offline=False):
|
|||
upstream_tag_sha1 = get_remote_tag_sha1(tag)
|
||||
if upstream_tag_sha1 == "":
|
||||
error_out(["Tag does not exist in remote git repo: %s" % tag,
|
||||
"You must tag, then git push and git push --tags"])
|
||||
"You must tag, then git push --follow-tags"])
|
||||
|
||||
debug("Remote tag SHA1: %s" % upstream_tag_sha1)
|
||||
|
||||
|
|
|
@ -493,7 +493,7 @@ class VersionTagger(ConfigObject):
|
|||
info_out("Created tag: %s" % new_tag)
|
||||
print(" View: git show HEAD")
|
||||
print(" Undo: tito tag -u")
|
||||
print(" Push: git push origin && git push origin %s" % new_tag)
|
||||
print(" Push: git push --follow-tags origin")
|
||||
|
||||
def _check_tag_does_not_exist(self, new_tag):
|
||||
status, output = getstatusoutput(
|
||||
|
|
Loading…
Add table
Reference in a new issue