Source

appspace / fabfile.py

Diff from to

fabfile.py

     local('hg merge next; hg ci -m automerge')
     local('hg update pu')
     local('hg merge default; hg ci -m automerge')
-    prompt('Enter tag', 'tag')
+    prompt('Enter tag: ', 'tag')
     with settings(warn_only=True):
         local('hg tag "%(tag)s"' % env)
         local('hg push ssh://hg@bitbucket.org/lcrees/appspace')
         local('hg push git+ssh://git@github.com:kwarterthieves/appspace.git')
-#    local('python setup.py register sdist --format=bztar,gztar,zip upload')
+    local('./setup.py register sdist --format=bztar,gztar,zip upload')
+    local('rm -rf dist')
+
+
+def release_next():
+    '''release appspace from next branch'''
+    local('hg update maint')
+    local('hg merge default; hg ci -m automerge')
+    local('hg update default')
+    local('hg merge next; hg ci -m automerge')
+    local('hg update next')
+    local('hg merge default; hg ci -m automerge')
+    prompt('Enter tag: ', 'tag')
+    with settings(warn_only=True):
+        local('hg tag "%(tag)s"' % env)
+        local('hg push ssh://hg@bitbucket.org/lcrees/appspace')
+        local('hg push git+ssh://git@github.com:kwarterthieves/appspace.git')
+    local('./setup.py register sdist --format=bztar,gztar,zip upload')
+    local('rm -rf dist')