Skip to content

Commit

Permalink
ci: fix pythonpublish version check
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Sep 13, 2024
1 parent 2d739c3 commit 797af14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: Check that VERSION in _version.py and the tag are consistent
env:
VERSION: ${{ github.ref_name }}
run: echo "VERSION = \"${VERSION#v}\"" | diff - readalongs/_version.py"
shell: bash
run: diff <(echo "VERSION = \"${VERSION#v}\"") <(head -1 readalongs/_version.py)

- name: Install dependencies
run: |
Expand Down

0 comments on commit 797af14

Please sign in to comment.