Skip to content
Snippets Groups Projects
Commit 73deda49 authored by Ariel Nunez's avatar Ariel Nunez
Browse files

Added publish task

parent 42d668a4
Branches
Tags 2.0.0+beta8 2.0b8 2.0b9 debian/2.0.0+beta9
No related merge requests found
......@@ -481,6 +481,20 @@ def deb(options):
if ppa is not None:
sh('dput ppa:%s geonode_%s_source.changes' % (ppa, simple_version))
@task
def publish():
if 'GPG_KEY_GEONODE' in os.environ:
key = os.environ['GPG_KEY_GEONODE']
else:
print "You need to set the GPG_KEY_GEONODE environment variable"
return
call_task('deb', options={
'k': key,
'p': 'geonode/testing',
})
def kill(arg1, arg2):
"""Stops a proces that contains arg1 and is filtered by arg2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment