diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bfac43d..380b45e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -77,6 +77,11 @@ jobs: run: | docker run --rm --entrypoint chifra ${{ env.TEST_TAG }} --version 2> /tmp/version grep `echo ${{ inputs.tag }} | sed 's/v//'` /tmp/version + if [ $? != 0 ]; then + echo "VERSION MISMATCH" + cat /tmp/version + exit 1 + fi # Now we know it's working, so we will commit the changed VERSION file and create new tag -