Skip to content

Commit

Permalink
Fetch semver without poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Aug 19, 2024
1 parent 5178b8f commit f945d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f945d3f

Please sign in to comment.