summaryrefslogtreecommitdiff
path: root/release.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-07-26 09:52:26 +0200
committerJason R. Coombs <jaraco@jaraco.com>2013-07-26 09:52:26 +0200
commit408e327e39d1484e613de2f9fd21ddb5e2fc7821 (patch)
tree5895f5dc0c41258d11e4aadbbe580407b8074a3b /release.py
parent9ccb72832b15c57295945608b54702782a402204 (diff)
downloadpython-setuptools-bitbucket-408e327e39d1484e613de2f9fd21ddb5e2fc7821.tar.gz
Update release script to always push the bootstrap bookmark.
Diffstat (limited to 'release.py')
-rw-r--r--release.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release.py b/release.py
index bad7e0ee..da8ee859 100644
--- a/release.py
+++ b/release.py
@@ -7,6 +7,9 @@ import re
import os
import subprocess
+import pkg_resources
+
+pkg_resources.require('jaraco.packaging>=1.1')
def before_upload():
_linkify('CHANGES.txt', 'CHANGES (links).txt')
@@ -20,6 +23,9 @@ test_info = "Travis-CI tests: http://travis-ci.org/#!/jaraco/setuptools"
os.environ["SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES"] = "1"
+# override the push command to include the bootstrap bookmark.
+push_command = ['hg', 'push', '-B', 'bootstrap']
+
link_patterns = [
r"(Issue )?#(?P<issue>\d+)",
r"Distribute #(?P<distribute>\d+)",