Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/maint-helper.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-07-08 18:03:39 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-07-08 18:03:39 (GMT)
commitdc31a56f60a811e9ed46426805d4d7fe78fca414 (patch)
treebdf86bac6f802ce5f8ce9ecd4673ee7eec24787a /maint-helper.py
parentb59dadab62d3ba19c47efba491c76dc4f817d767 (diff)
Pull from git before building the snapshot
Diffstat (limited to 'maint-helper.py')
-rwxr-xr-xmaint-helper.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/maint-helper.py b/maint-helper.py
index a4454fe..09fa9c6 100755
--- a/maint-helper.py
+++ b/maint-helper.py
@@ -50,6 +50,12 @@ maint-helper.py check-licenses - check licenses in the source'
def cmd_build_snapshot():
[ name, version ] = get_name_and_version()
+ print 'Update git...'
+
+ retcode = subprocess.call(['git', 'pull'])
+ if retcode:
+ print 'ERROR - cannot pull from git'
+
cmd = 'git-show-ref --hash=10 refs/heads/master'
alphatag = os.popen(cmd).readline().strip()