Skip to content

Commit 1026912

Browse files
Merge pull request #14 from jcam1/fix/publish-workflow
Fix `publish` Workflow
2 parents bd94260 + fa97baf commit 1026912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- uses: ./.github/actions/install-packages
4141
- name: get version from `pyproject.toml`
4242
run: |
43-
package_version=$(grep -m 1 version pyproject.toml | grep -e '\d.\d.\d' -o)
43+
package_version=$(grep -m 1 version pyproject.toml | grep -Ee '[0-9]+.[0-9]+.[0-9]+' -o)
4444
echo "GIT_TAG_VERSION=$package_version" >> $GITHUB_ENV
4545
- uses: rickstaa/action-create-tag@v1
4646
id: create-tag

0 commit comments

Comments
 (0)