Skip to content

Commit 06db9f2

Browse files
committed
Sandbox: Add release tooling for releasing from workstation
1 parent ba5e4ee commit 06db9f2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,8 @@ test-coverage = [
9696
]
9797
build = {cmd="python -m build"}
9898
check = ["lint", "test"]
99+
100+
release = [
101+
{ cmd = "python -m build" },
102+
{ cmd = "twine upload --skip-existing dist/*" },
103+
]

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ develop =
8787
poethepoet<1
8888
pip-review<2 # Use `pip-review --local --interactive` to upgrade outdated packages.
8989
ruff<0.7;python_version>='3.7'
90+
twine<6
9091

9192

9293
[options.packages.find]

0 commit comments

Comments
 (0)