Commits

abudden committed c035d6a

Improvements to git commit code.

Comments (0)

Files changed (1)

dist/make_taghighlight_release.py

     MakeCompiled(pyexe, pyinstaller_path, 'taghighlight_r{0}_linux.zip'.format(r), 'Linux')
 
 def CheckInChanges(r):
-    # Shouldn't be anything to commit
-    #args = GIT+['commit','-am','Release build {0}'.format(r)]
-    #p = subprocess.Popen(args)
-    #(stdout,stderr) = p.communicate()
+    args = GIT+['status']
+    p = subprocess.Popen(args)
+    (stdout,stderr) = p.communicate()
+    args = GIT+['add','plugin/TagHighlight/data/release.txt']
+    p = subprocess.Popen(args)
+    (stdout,stderr) = p.communicate()
+    args = GIT+['commit','-m','Release build {0}'.format(r)]
+    p = subprocess.Popen(args)
+    (stdout,stderr) = p.communicate()
     args = GIT+['tag','taghighlight-release-{0}'.format(r)]
     p = subprocess.Popen(args)
     (stdout,stderr) = p.communicate()