Mercurial > code > home > repos > rdfdb
view fabfile.py @ 18:fc8fc22ba833
version 0.6.0
Ignore-this: 7a6c65c54b2520d5ec8bb818d1611941
author | drewp@bigasterisk.com |
---|---|
date | Sun, 28 Oct 2018 11:09:38 +0000 |
parents | 85873cde659b |
children |
line wrap: on
line source
from subprocess import check_call, check_output, CalledProcessError def release(): try: check_call(['darcs', 'wh', 'rdfdb/patch.py']) raise SystemExit("\n^^ record these changes first") except CalledProcessError: # nothing new pass ver = check_output(['env/bin/bump', '-qm', 'setup.py']).strip() check_call(['darcs', 'rec', '--all', '--name', "version %s" % ver, '.']) check_call(['python', 'setup.py', 'sdist']) check_call(['cp', 'dist/rdfdb-%s.tar.gz' % ver, '/my/site/projects/rdfdb/'])