Skip to content

Commit

Permalink
BUGFIX: Fix sed expression
Browse files Browse the repository at this point in the history
  • Loading branch information
marble committed Jul 13, 2022
1 parent 0c67eb0 commit 9ab061b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ jobs:
- name: Assert release number is exactly like 1.2.3 or 1.2.dev3
run: |
our_version=$(python -c "import sphinx_typo3_theme; print(sphinx_typo3_theme.__version__)")
validstr=$(echo "$scm_version" | sed -e 's/\(0\|\([1-9][0-9]*\)\)\.\(0\|\([1-9][0-9]*\)\)\.\(0\|\([1-9][0-9]*\)\)/valid/')
validstr=$(echo "$our_version" | sed -e 's/\(0\|\([1-9][0-9]*\)\)\.\(0\|\([1-9][0-9]*\)\)\.\(0\|\([1-9][0-9]*\)\)/valid/')
echo our version:${our_version}: && echo validates to validstr:${validstr}:
if [ "$validstr" != "valid" ]; then
echo Invalid version number. Expecting a legal version like
Expand Down

0 comments on commit 9ab061b

Please sign in to comment.