Skip to content

Commit 1100eed

Browse files
committed
ci: set scaleway-core version during build
1 parent 7c5b2ae commit 1100eed

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ jobs:
3232
run: poetry publish
3333
env:
3434
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
35-
35+
- name: Wait for package to be available
36+
run: sleep 10
37+
3638
release:
39+
needs:
40+
- release-core
3741
runs-on: ubuntu-latest
3842
strategy:
3943
matrix:
@@ -53,6 +57,9 @@ jobs:
5357
run: |
5458
pip install poetry
5559
poetry --version
60+
- name: Set local scaleway-core version
61+
run: poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
62+
working-directory: scaleway-core
5663
- name: Set scaleway-core version in the package
5764
run: poetry add scaleway-core@$(echo "${{ github.ref }}" | cut -d "/" -f 3)
5865
- name: Update lock file

0 commit comments

Comments
 (0)