Skip to content

Commit

Permalink
refactor: Fix version extraction in GitHub Actions workflow (#3501)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielluiz committed Aug 27, 2024
1 parent 1b1247f commit 39886a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
if : ${{ inputs.version == '' && inputs.release_type == 'base' }}
id: get-version-base
run: |
version=$(poetry version --short)
version=$(cd src/backend/base && poetry version --short)
echo version=$version >> $GITHUB_OUTPUT
- name: Get Version Base
if : ${{ inputs.version == '' && inputs.release_type == 'main' }}
id: get-version-main
run: |
version=$(cd src/backend/base && poetry version --short)
version=$(poetry version --short)
echo version=$version >> $GITHUB_OUTPUT
setup:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 39886a1

Please sign in to comment.