Skip to content

Commit 15e6e30

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

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"]
2525

26-
[envs.codebuild.scripts]
27-
build = "hatch build"
28-
2926
[envs.container.env-vars]
3027

3128
[envs.release]

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)