Skip to content

Commit f862b7c

Browse files
committed
Fix regex escaping in release.yaml for version check
1 parent 574d383 commit f862b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
id: versioncheck
3434
with:
3535
pyproject-path: "./pyproject.toml"
36-
test-regex: '[0-9]+(\.[0-9]+)*([a-z]+[0-9]+)?(\.post[0-9]+)?(\.dev[0-9]+)?'
36+
test-regex: '[0-9]+(\\.[0-9]+)*([a-z]+[0-9]+)?(\\.post[0-9]+)?(\\.dev[0-9]+)?'
3737
- name: check output
3838
run: |
3939
echo "Output: ${{ steps.versioncheck.outputs.local_version_is_higher }}" # 'true' or 'false

0 commit comments

Comments
 (0)