Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstangl authored Apr 14, 2023
1 parent 54cd627 commit 2b833ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b833ef

Please sign in to comment.