diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | ci/upload_relnotes.py | 7 | ||||
-rw-r--r-- | howto.txt | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -129,3 +129,6 @@ publishbeta: rm -f $(WEBSAMPLEBETA)/*.* mkdir -p $(WEBSAMPLEBETA) cp doc/sample_html_beta/*.* $(WEBSAMPLEBETA) + +upload_relnotes: + python ci/upload_relnotes.py CHANGES.rst pypi/coverage diff --git a/ci/upload_relnotes.py b/ci/upload_relnotes.py index 9429ca19..1cc89013 100644 --- a/ci/upload_relnotes.py +++ b/ci/upload_relnotes.py @@ -9,11 +9,16 @@ program, for example: user/n3IwOpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc2ZwE4 +Run with two arguments: the .rst file to parse, and the Tidelift package name: + + python upload_relnotes.py CHANGES.rst pypi/coverage + """ import os.path import re import subprocess +import sys import requests @@ -112,4 +117,4 @@ def convert_and_upload(rst_filename, package): update_release_note(package, version, text) if __name__ == "__main__": - convert_and_upload("CHANGES.rst", "pypi/coverage") + convert_and_upload(*sys.argv[1:]) @@ -82,7 +82,7 @@ - visit https://readthedocs.org/dashboard/coverage/versions/ - change the default version to the new version - Update Tidelift: - - python ci/upload_relnotes.py + - make upload_relnotes - Visit the fixed issues on GitHub and mention the version it was fixed in. - Announce on coveragepy-announce@googlegroups.com . - Announce on TIP. |