From 66ccb7488efbe3e7b85f6e8b3a4cf9dac595ebc5 Mon Sep 17 00:00:00 2001 From: WeberJulian Date: Thu, 30 Jun 2022 13:54:08 +0200 Subject: [PATCH] Fix version checking --- .github/workflows/pypi-release.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 2af245e5..fc990826 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -10,6 +10,7 @@ jobs: build-sdist: runs-on: ubuntu-20.04 steps: + - uses: actions/checkout@v2 - name: Verify tag matches version run: | set -ex @@ -18,12 +19,6 @@ jobs: if [[ "v$version" != "$tag" ]]; then exit 1 fi - - uses: actions/checkout@v2 - - name: Verify tag matches version - run: | - set -ex - version=$(cat TTS/VERSION) - tag="${GITHUB_REF/refs\/tags\/}" - uses: actions/setup-python@v2 with: python-version: 3.8