[Asterisk-code-review] digium_git.py: Verify All Tags Are Fetched (...repotools[master])

Christian Savinovich asteriskteam at digium.com
Tue Apr 23 11:44:39 CDT 2019


Christian Savinovich has uploaded this change for review. ( https://gerrit.asterisk.org/c/repotools/+/11307


Change subject: digium_git.py: Verify All Tags Are Fetched
......................................................................

digium_git.py: Verify All Tags Are Fetched

When creating a release, on running the mkrelease.py script, there
is been reporting that not all corresponding tags from previous
release are copied to the new one. Not able to replicate the issue
but adding a "git fetch --tags" is a safe step.

Change-Id: I970b2390ef339a9d697a3a8bcdf948edf1a06760
---
M digium_git.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/07/11307/1

diff --git a/digium_git.py b/digium_git.py
index 6853647..3ac01ef 100644
--- a/digium_git.py
+++ b/digium_git.py
@@ -218,7 +218,7 @@
             origin = self.repo.remotes.origin
 
         origin.fetch(progress=self.progress)
-        origin.fetch(progress=self.progress)
+        origin.fetch("--tags")
 
     @property
     def progress(self):

-- 
To view, visit https://gerrit.asterisk.org/c/repotools/+/11307
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-Change-Id: I970b2390ef339a9d697a3a8bcdf948edf1a06760
Gerrit-Change-Number: 11307
Gerrit-PatchSet: 1
Gerrit-Owner: Christian Savinovich <csavinovich at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190423/256f908a/attachment.html>


More information about the asterisk-code-review mailing list