]> git.donarmstrong.com Git - lilypond.git/blobdiff - bin/release.py
release: 0.1.32
[lilypond.git] / bin / release.py
index 7eefee88c8723798fcd6e72740a1e1f9bcdcfafa..604e1779f0dccbe3d306a09ebba463eb1902300c 100644 (file)
@@ -5,7 +5,7 @@ from lilypython import *
 os.chdir(lilydirs.topdir)
 os.system('make dist')
 cur_ver = lilydirs.version_tuple()
-
+print tarball(cur_ver)
 os.rename('out/' + tarball(cur_ver), released_tarball(cur_ver))
 os.chdir('../test')
 os.system('pwd')
@@ -13,9 +13,20 @@ os.system('rm ../test/*gz')
 os.link(released_tarball(cur_ver), tarball(cur_ver))
 
 
-# not a module, but a script:
+# not a module, but a script (JCN)
 # makepatch.main()
+
+# Module wherefore aren't thou Script
+# A Rose by any other name would be as blonde. --HWN
+
 os.system('python ' + lilydirs.topdir + '/bin/make-patch.py');
 
-os.system('gzip -9 patch*')
+pn = 'patch-%s' % version_tuple_to_str(cur_ver)
+os.system('gzip -9 ' + pn)
+pn = pn + '.gz'
+rel_pn = lilydirs.release_dir + '../patches/' + pn;
+
+os.rename(pn, rel_pn);
+os.link(rel_pn, pn);
+
 os.system('tar cf updeet *gz')