From 2499805d4e99185b2582566d9a866a36c02055e7 Mon Sep 17 00:00:00 2001 From: Anton Elmiger Date: Wed, 17 Jul 2024 12:28:07 +0200 Subject: [PATCH] hotfix: Correct naming of releases --- .github/workflows/deploy_to_pypi.yaml | 5 +++-- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_to_pypi.yaml b/.github/workflows/deploy_to_pypi.yaml index 8345b01..b7f728f 100644 --- a/.github/workflows/deploy_to_pypi.yaml +++ b/.github/workflows/deploy_to_pypi.yaml @@ -13,6 +13,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' outputs: new_tag: ${{ steps.create_tag.outputs.new_tag }} + version: ${{ steps.get_version.outputs.VERSION }} steps: - uses: actions/checkout@v4 @@ -110,7 +111,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} run: >- gh release create - '${{ github.ref_name }}' + '${{ needs.auto-tag.outputs.version }}' --repo '${{ github.repository }}' --notes "" - name: Upload artifact signatures to GitHub Release @@ -118,7 +119,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} run: >- gh release upload - '${{ github.ref_name }}' dist/** + '${{ needs.auto-tag.outputs.version }}' dist/** --repo '${{ github.repository }}' publish-to-testpypi: diff --git a/pyproject.toml b/pyproject.toml index 497a1e4..00e1343 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ readme = "README.md" requires-python = ">=3.8" license = {text = "GPLv3"} -version = "1.3.8" +version = "1.3.9" dynamic = ["dependencies"]