Skip to content

Commit

Permalink
Test #2: Trigger publishing to TestPyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
HGSilveri committed Oct 13, 2023
1 parent 0ffb05a commit 8cc4c09
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
else
echo "New version is invalid."; exit 1
fi
- name: Check development version validity
if: github.event.pull_request.base.ref != 'master'
run: |
pattern=^\(0\|[1-9][0-9]*\)\.\(0\|[1-9][0-9]*\)dev\(0\|[1-9][0-9]*\)$
if [[ ${{ env.new_version }} =~ $pattern ]]; then
echo "New version is valid."; exit 0
else
echo "New version is invalid."; exit 1
fi
# - name: Check development version validity
# if: github.event.pull_request.base.ref != 'master'
# run: |
# pattern=^\(0\|[1-9][0-9]*\)\.\(0\|[1-9][0-9]*\)dev\(0\|[1-9][0-9]*\)$
# if [[ ${{ env.new_version }} =~ $pattern ]]; then
# echo "New version is valid."; exit 0
# else
# echo "New version is invalid."; exit 1
# fi

0 comments on commit 8cc4c09

Please sign in to comment.