diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index 1b1ebd52..60a3f19d 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -5,11 +5,15 @@ on: PYTHON_VERSION: description: "Python Version" required: false - default: "3.10.13" + default: "3.12.2" POETRY_VERSION: description: "The version of Poetry to use" required: false default: "1.8.2" + RELEASE_TAG: + description: "The new version should be a valid PEP 440 string" + required: true + default: "0.3.0" defaults: run: working-directory: ./tools @@ -25,6 +29,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ inputs.PYTHON_VERSION }} + - run: poetry version ${{ inputs.RELEASE_TAG }} - run: poetry install - run: poetry config repositories.testpypi https://test.pypi.org/legacy/ - run: poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84bb623e..450a44d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: PYTHON_VERSION: description: "Python Version" required: false - default: "3.10.13" + default: "3.12.2" POETRY_VERSION: description: "The version of Poetry to use" required: false @@ -13,7 +13,7 @@ on: RELEASE_TAG: description: "The new version should be a valid PEP 440 string" required: true - default: "0.0.1" + default: "0.3.0" defaults: run: working-directory: ./tools