Skip to content

Commit 5c8c267

Browse files
authored
chore(dev): as of hatch 1.16.0, 'hatch build' can't be run in non-builder envs (#200)
Signed-off-by: Morgan Epp <[email protected]>
1 parent f61caf5 commit 5c8c267

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

hatch.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ lint = [
2323
[[envs.all.matrix]]
2424
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]
2525

26-
[envs.codebuild.scripts]
27-
build = "hatch build"
28-
2926
[envs.release]
3027
detached = true
3128

pipeline/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ set -e
55
pip install --upgrade pip
66
pip install --upgrade hatch
77
pip install --upgrade twine
8-
hatch run codebuild:lint
9-
hatch run codebuild:test
10-
hatch run codebuild:build
8+
hatch run lint
9+
hatch run test
10+
hatch build

0 commit comments

Comments
 (0)