diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-04-15 05:09:00 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-04-15 05:09:00 -0400 |
commit | 05fbe9c95352ad7536c1f8ebd53a6739714a8af9 (patch) | |
tree | 21a5997fda2449443394b086140eeef322e45c7e /ci | |
parent | 4651411b26a4c5b2e15cd8066b264c9022f3010a (diff) | |
download | python-coveragepy-git-05fbe9c95352ad7536c1f8ebd53a6739714a8af9.tar.gz |
build: make tags like 5.6.1 not coverage-5.6.1
Diffstat (limited to 'ci')
-rw-r--r-- | ci/github_releases.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/github_releases.py b/ci/github_releases.py index 1c7ee604..86dd7d1c 100644 --- a/ci/github_releases.py +++ b/ci/github_releases.py @@ -78,7 +78,7 @@ def release_for_relnote(relnote): """ Turn a release note dict into the data needed by GitHub for a release. """ - tag = f"coverage-{relnote['version']}" + tag = relnote['version'] return { "tag_name": tag, "name": tag, @@ -122,7 +122,7 @@ def update_github_releases(json_filename, repo): relnotes = json.load(jf) relnotes.sort(key=lambda rel: pkg_resources.parse_version(rel["version"])) for relnote in relnotes: - tag = "coverage-" + relnote["version"] + tag = relnote["version"] if not does_tag_exist(tag): continue exists = tag in releases |