Skip to content

Commit d603325

Browse files
committed
fix: call build script directly to preserve dev version
The make build target calls generate-pyproject which overwrites pyproject.toml from .project.yml, losing the dev version we set. Now we call the build script directly after updating pyproject.toml to preserve the dev version number.
1 parent 6fed32c commit d603325

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/dev-pypi.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ jobs:
9494
9595
- name: Build package
9696
run: |
97-
make build
97+
# Skip generate-pyproject since we already updated version
98+
VERSION=$VERSION BUILD_ARGS="$(BUILD_ARGS)" ./dev-tools/package/build.sh
9899
99100
- name: Check package
100101
run: |

0 commit comments

Comments
 (0)