Skip to content
Snippets Groups Projects
Commit 86f60655 authored by nimrod's avatar nimrod
Browse files

- Set upstream git repository, removed Fabric task for doing so.

parent 95f6a6a6
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ from fabric.api import task, local, settings
@task
def publish():
'''Build, publish the Debian package.'''
local('git dch -R')
build()
for dist in ['wheezy', 'jessie', 'sid']:
......@@ -14,19 +15,16 @@ def publish():
@task
def build():
'''Build the Debian package.'''
local('''dpkg-buildpackage -us -uc''')
@task
def clean():
'''Clean auto-generated files.'''
with settings(warn_only=True):
local('''rm ../dcpman_*''')
local('''rm -r debian/dcpman.substvars debian/dcpman.prerm.debhelper\
debian/dcpman.postinst.debhelper debian/dcpman.debhelper.log\
debian/dcpman debian/files''')
local('''rm fabfile.pyc''')
@task
def push():
local('''git push --all gitdaemon''')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment