From 3a53d2576dc84c77e7d2b9a8099f97cea3047215 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 26 Jul 2013 09:52:26 +0200 Subject: Update release script to always push the bootstrap bookmark. --- release.py | 6 ++++++ 1 file changed, 6 insertions(+) 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\d+)", r"Distribute #(?P\d+)", -- cgit v1.2.3