diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-05-27 09:13:03 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-05-27 09:13:03 -0400 |
commit | a812a86b5b20afb595d2a4c0101ec2eb86a2ebe4 (patch) | |
tree | 5839673fc40d5d23e20ce44f3cf59f6e5be70ce2 /ci/upload_relnotes.py | |
parent | 28503cbe24c524c8bc2ad2710ecaee510f1104da (diff) | |
download | python-coveragepy-git-a812a86b5b20afb595d2a4c0101ec2eb86a2ebe4.tar.gz |
Fewer coverage specfics in upload_relnotes.py
Diffstat (limited to 'ci/upload_relnotes.py')
-rw-r--r-- | ci/upload_relnotes.py | 7 |
1 files changed, 6 insertions, 1 deletions
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:]) |