This commit is contained in:
Jeremy Fincher 2004-10-01 04:19:22 +00:00
parent 15d1c77b80
commit 10579c5de0

View File

@ -48,7 +48,7 @@ if __name__ == '__main__':
versionFiles = ('src/conf.py', 'scripts/supybot', 'setup.py')
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('cvs commit -m "Updated to %s." %s' % (v, ' '.join(versionFiles)))