Skip to content

Commit

Permalink
chore: fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Dec 5, 2024
1 parent fab73b4 commit e7ef853
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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__" }

Expand Down
4 changes: 3 additions & 1 deletion scripts/post-release.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e7ef853

Please sign in to comment.