mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
release.py: Don't specify -a and paths to git commit
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
e464260b8a
commit
7c89914d2d
@ -74,8 +74,8 @@ if __name__ == '__main__':
|
|||||||
' Change to an appropriate directory or remove the supybot '
|
' Change to an appropriate directory or remove the supybot '
|
||||||
'directory to continue.')
|
'directory to continue.')
|
||||||
print 'Checking out fresh tree from git.'
|
print 'Checking out fresh tree from git.'
|
||||||
system(
|
system('git clone git+ssh://%s@supybot.git.sourceforge.net/gitroot/supybot'
|
||||||
'git clone git+ssh://%s@supybot.git.sourceforge.net/gitroot/supybot'%u)
|
% u)
|
||||||
os.chdir('supybot')
|
os.chdir('supybot')
|
||||||
|
|
||||||
print 'Checking RELNOTES version line.'
|
print 'Checking RELNOTES version line.'
|
||||||
@ -94,7 +94,7 @@ if __name__ == '__main__':
|
|||||||
for fn in versionFiles:
|
for fn in versionFiles:
|
||||||
sh = 'perl -pi -e "s/^version\s*=.*/version = \'%s\'/" %s' % (v, fn)
|
sh = 'perl -pi -e "s/^version\s*=.*/version = \'%s\'/" %s' % (v, fn)
|
||||||
system(sh, 'Error changing version in %s' % fn)
|
system(sh, 'Error changing version in %s' % fn)
|
||||||
system('git commit -a %s -m \'Updated to %s.\' %s'
|
system('git commit %s -m \'Updated to %s.\' %s'
|
||||||
% (sign, v, ' '.join(versionFiles)))
|
% (sign, v, ' '.join(versionFiles)))
|
||||||
|
|
||||||
print 'Tagging release.'
|
print 'Tagging release.'
|
||||||
|
Loading…
Reference in New Issue
Block a user