From 2b833efe5dad132189d8c357819a2a1554557df7 Mon Sep 17 00:00:00 2001 From: Peter Stangl Date: Fri, 14 Apr 2023 16:29:12 +0200 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0b50e7a..84c87c81 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,12 +31,14 @@ jobs: - name: Verify release version matches source code version shell: bash run: | + pushd _src export TAG_VERSION=${GITHUB_REF##refs/tags/v} export SRC_VERSION=$(python3 -c "from flavio._version import __version__; print(__version__)") if [[ ${TAG_VERSION} != ${SRC_VERSION} ]] ; then echo "tag/release version and source code version disagree, exiting" exit 1 fi + popd - name: Build bdist shell: bash