From e7ef8537bca9ea5d72fbcc2003536721b4b8faef Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Fri, 6 Dec 2024 00:43:59 +0100 Subject: [PATCH] chore: fix release script --- pyproject.toml | 3 +++ scripts/post-release.sh | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1663868..6748134 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,9 @@ pytest11 = { codspeed = "pytest_codspeed.plugin" } requires = ["setuptools >= 61", "cffi >= 1.17.1"] build-backend = "setuptools.build_meta" +[tool.setuptools] +license-files = [] # Workaround of https://github.com/astral-sh/uv/issues/9513 + [tool.setuptools.dynamic] version = { attr = "pytest_codspeed.__version__" } diff --git a/scripts/post-release.sh b/scripts/post-release.sh index 552b62a..c786367 100755 --- a/scripts/post-release.sh +++ b/scripts/post-release.sh @@ -1,7 +1,9 @@ #!/bin/bash set -e -VERSION=v$BUMPVER_NEW_VERSION +VERSION=$BUMPVER_NEW_VERSION +# We handle tagging here since bumpver doesn't allow custom +# tagnames and we want a v prefix git tag v$VERSION -m "Release v$VERSION 🚀" git push --follow-tags