Skip to content

Commit 8e1910e

Browse files
Merge pull request #8 from jcam1/fix/publish-workflow
Fix 'publish' Workflow
2 parents 2c6e2c8 + 45b09d6 commit 8e1910e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
- uses: ./.github/actions/install-packages
4040
- name: get version from `pyproject.toml`
4141
run: |
42-
package_version=($(uv version))
43-
echo "GIT_TAG_VERSION=$package_version[2]" >> $GITHUB_ENV
42+
package_version=`grep -m 1 version pyproject.toml | grep -e '\d.\d.\d' -o`
43+
echo "GIT_TAG_VERSION=$package_version" >> $GITHUB_ENV
4444
- uses: rickstaa/action-create-tag@v1
4545
id: create-tag
4646
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "jpyc-python-sdks"
33
version = "1.0.0"
4-
requires-python = ">=3.11"
4+
requires-python = ">=3.12"
55
description = "Python SDKs for JPYC protocols"
66
readme = "README.md"
77

0 commit comments

Comments
 (0)