Skip to content

Commit 0ac171c

Browse files
committed
build: rebuild sdist with dev verison
The sdist needs to be rebuild in order to get the dev version attached. Signed-off-by: Daniel Wagner <[email protected]>
1 parent ef4df90 commit 0ac171c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release-python.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ jobs:
7171
run: |
7272
sed -i "s/^version = .*/version = \"${{ steps.version.outputs.dev_version }}\"/" pyproject.toml
7373
74-
- name: Build sdist
74+
- name: Rebuild sdist with dev version
7575
run: |
76+
rm -rf dist
7677
pipx run build --sdist
7778
7879
- name: Validate sdist

0 commit comments

Comments
 (0)