We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56a749c commit 9d96a96Copy full SHA for 9d96a96
.github/workflows/publish-version.yaml
@@ -46,7 +46,8 @@ jobs:
46
id: set-version
47
run: |
48
if [ "${{ steps.set-version-type.outputs.VERSION_TYPE }}" = "prod" ]; then
49
- pip install poetry
+ POETRY_VERSION=$(grep -E '^requires-poetry = ' pyproject.toml | sed -E 's/requires-poetry = "(.*)"/\1/')
50
+ pip install poetry==$POETRY_VERSION
51
VERSION=$(poetry version -s)
52
else
53
VERSION="dev-${GITHUB_SHA::7}"
0 commit comments