Skip to content

Commit 3d8ab2b

Browse files
committed
Fix testpypi build
1 parent 69d9955 commit 3d8ab2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-to-testpypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: python3 -m pip install --user build
2424

2525
- name: Add commit to version
26-
run: sed -i -e 's/__version__\s*=\s*"(.+)"/__version__ = "\1+$(git rev-parse --short HEAD)"/' pathspec/_version.py
26+
run: sed -i -E "s/__version__\s*=\s*"'"'\(.+\)'"'"/__version__ = '\1+$(git rev-parse --short HEAD)'/" pathspec/_version.py
2727

2828
- name: Prebuild
2929
run: python3 prebuild.py

0 commit comments

Comments
 (0)