aboutsummaryrefslogtreecommitdiffstats
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
commit3a53d2576dc84c77e7d2b9a8099f97cea3047215 (patch)
tree27e2c5b6ef00e1b843099da03f2be4be2506338a /release.py
parent43f8c9aaff8c71c1c1e841827509c405c20ce909 (diff)
downloadexternal_python_setuptools-3a53d2576dc84c77e7d2b9a8099f97cea3047215.tar.gz
external_python_setuptools-3a53d2576dc84c77e7d2b9a8099f97cea3047215.tar.bz2
external_python_setuptools-3a53d2576dc84c77e7d2b9a8099f97cea3047215.zip
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+)",