diff --git a/.github/workflows/publish_main.yaml b/.github/workflows/publish_main.yaml index c258a29..e64e8fc 100644 --- a/.github/workflows/publish_main.yaml +++ b/.github/workflows/publish_main.yaml @@ -22,7 +22,7 @@ jobs: - name: Extract version from pyproject.toml id: get_version run: | - python -c "import tomli; print(tomli.loads(open('pyproject.toml', 'rb').read())['project']['version'])" > version.txt + python -c "import tomli; version=tomli.load(open('pyproject.toml', 'rb'))['project']['version']; print(version)" > version.txt echo "version=$(cat version.txt)" >> $GITHUB_OUTPUT - name: Determine Tag Name