From 797af1472a6b8acd8209d1312ed8775c9d1e2bda Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Fri, 13 Sep 2024 12:39:43 -0400 Subject: [PATCH] ci: fix pythonpublish version check --- .github/workflows/pythonpublish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index f76e3ca0..fe499481 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -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: |