aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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+)",