diff options
author | 2024-08-19 02:38:34 +0100 | |
---|---|---|
committer | 2024-08-19 02:38:34 +0100 | |
commit | f945d3fbe4fb5d72c62cb40db539be492dda43b9 (patch) | |
tree | 1b4e5478596c78ae7b044633fa3877eda812ab3a /.github | |
parent | Inject semver in Docker Build Stage (diff) |
Fetch semver without poetry
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-deploy.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml index 2387024..7ab8a02 100644 --- a/.github/workflows/build-deploy.yaml +++ b/.github/workflows/build-deploy.yaml @@ -37,7 +37,7 @@ jobs: - name: Fetch project version (Backend) if: ${{ inputs.project == 'backend' }} run: >- - echo "THALLIUM_SEMVER=$(poetry version -s)" >> $GITHUB_ENV + echo "THALLIUM_SEMVER=$(cat pyproject.toml | grep '^version =') | grep -Po '(\d+\.){2}\d+')" >> $GITHUB_ENV # Build and push the container to the GitHub Container # Repository. The container will be tagged as "latest" |