From 67f0694cc50503f09ef8a49966a6645d71bdbe14 Mon Sep 17 00:00:00 2001 From: Stephen Kent Date: Tue, 25 Oct 2022 00:15:26 -0700 Subject: [PATCH] Apply updates from upstream project template Applied upstream commits: https://github.com/smkent/cookie-python/compare/3d29f0fc063229601337a8dc162ec95f83f50bf7...5a2e4887b88c6ad8d59e3e6c83fe246a61c7bc87 --- .cruft.json | 2 +- .github/workflows/actions/python-poetry/action.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.cruft.json b/.cruft.json index d1e271d..8ee4a36 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/smkent/cookie-python", - "commit": "3d29f0fc063229601337a8dc162ec95f83f50bf7", + "commit": "5a2e4887b88c6ad8d59e3e6c83fe246a61c7bc87", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/actions/python-poetry/action.yml b/.github/workflows/actions/python-poetry/action.yml index 8e428d5..a830ece 100644 --- a/.github/workflows/actions/python-poetry/action.yml +++ b/.github/workflows/actions/python-poetry/action.yml @@ -15,8 +15,8 @@ runs: shell: bash run: | python3 -m pip install \ - poetry==${{ inputs.poetry_version }}.* \ - poetry-dynamic-versioning + "poetry==${{ inputs.poetry_version }}.*" \ + "poetry-dynamic-versioning<=0.17.1" - name: 🐍 Set up Python uses: actions/setup-python@v4 @@ -28,3 +28,5 @@ runs: shell: bash run: | poetry install + [ "$(poetry version -s)" != "0.0.0" ] \ + || { echo "Versioning broken"; exit 1; }