push the tag to origin
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Tue, 15 Jun 2010 13:55:58 +0000 (15:55 +0200)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Tue, 15 Jun 2010 13:55:58 +0000 (15:55 +0200)
module-tools.py

index dedbe57..319346f 100755 (executable)
@@ -292,7 +292,8 @@ class GitRepository:
         return self.__run_command_in_repo("git checkout %s" % tag)
 
     def tag(self, tagname, logfile):
-        return self.__run_command_in_repo("git tag %s -F %s" % (tagname, logfile))
+        self.__run_command_in_repo("git tag %s -F %s" % (tagname, logfile))
+        self.commit(logfile)
 
     def diff(self):
         c = Command("git diff", self.options)