Skip to content

Commit 2475931

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

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
@@ -24,9 +24,6 @@ lint = [
2424
[[envs.all.matrix]]
2525
python = ["3.9", "3.10", "3.11", "3.12"]
2626

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

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)