Commit 370e8115 authored by Jason R. Coombs's avatar Jason R. Coombs

#34: Update the 'bootstrap' bookmark as part of the release process.

--HG--
extra : rebase_source : 549f10a7b864152871edccf3d0f9e0bf57fb8bf0
parent fae83a53
......@@ -6,6 +6,7 @@ install jaraco.packaging and run 'python -m jaraco.packaging.release'
import re
import os
import itertools
import subprocess
try:
zip_longest = itertools.zip_longest
......@@ -14,6 +15,7 @@ except AttributeError:
def before_upload():
_linkify('CHANGES.txt', 'CHANGES (links).txt')
_add_bootstrap_bookmark()
files_with_versions = (
'ez_setup.py', 'setuptools/__init__.py',
......@@ -55,3 +57,8 @@ def replacer(match):
if match_dict[key]:
url = issue_urls[key].format(**match_dict)
return "`{text} <{url}>`_".format(text=text, url=url)
def _add_bootstrap_bookmark():
cmd = ['hg', 'bookmark', '-i', 'bootstrap', '-f']
subprocess.Popen(cmd)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment