Skip to content

Commit 89de650

Browse files
committed
build: fix release python tag match
The version match should also accept patch level strings. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 13ba383 commit 89de650

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Check if it is a release tag
5757
id: check-tag
5858
run: |
59-
if [[ ${{ github.event.ref }} =~ ^refs/tags/v([0-9]+\.[0-9]+)(-rc[0-9]+)?$ ]]; then
59+
if [[ ${{ github.event.ref }} =~ ^refs/tags/v([0-9]+\.[0-9]+)(\.[0-9]+)?(-rc[0-9]+)?$ ]]; then
6060
echo ::set-output name=match::true
6161
fi
6262
- name: Download artifiact

0 commit comments

Comments
 (0)