]> git.donarmstrong.com Git - lilypond.git/blob - bin/release.py
release: 0.1.27
[lilypond.git] / bin / release.py
1 #!@PYTHON@
2
3 from lilypython import *
4
5 os.chdir(lilydirs.topdir)
6 os.system('make dist')
7 cur_ver = lilydirs.version_tuple()
8 print tarball(cur_ver)
9 os.rename('out/' + tarball(cur_ver), released_tarball(cur_ver))
10 os.chdir('../test')
11 os.system('pwd')
12 os.system('rm ../test/*gz')
13 os.link(released_tarball(cur_ver), tarball(cur_ver))
14
15
16 # not a module, but a script:
17 # makepatch.main()
18 os.system('python ' + lilydirs.topdir + '/bin/make-patch.py');
19
20 os.system('gzip -9 patch*')
21 os.system('tar cf updeet *gz')