Skip to content

Commit

Permalink
ci: set scaleway-core version during build
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsheep committed Nov 27, 2023
1 parent 93756fb commit 5ee88e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ jobs:
run: |
pip install poetry
poetry --version
- name: Set local scaleway-core version
run: poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
working-directory: scaleway-core
- name: Set scaleway-core version in the package
run: poetry add scaleway-core@$(echo "${{ github.ref }}" | cut -d "/" -f 3)
if: matrix.lib != 'scaleway-core'
- name: Update lock file
run: poetry lock
- name: Install dependencies and library
Expand Down

0 comments on commit 5ee88e2

Please sign in to comment.