Skip to content

Commit 5ee88e2

Browse files
committed
ci: set scaleway-core version during build
1 parent 93756fb commit 5ee88e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ jobs:
5555
run: |
5656
pip install poetry
5757
poetry --version
58+
- name: Set local scaleway-core version
59+
run: poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
60+
working-directory: scaleway-core
5861
- name: Set scaleway-core version in the package
5962
run: poetry add scaleway-core@$(echo "${{ github.ref }}" | cut -d "/" -f 3)
60-
if: matrix.lib != 'scaleway-core'
6163
- name: Update lock file
6264
run: poetry lock
6365
- name: Install dependencies and library

0 commit comments

Comments
 (0)