@@ -42,7 +42,7 @@ jobs:
4242 - name: Check library version
4343 if: github.event_name == 'release'
4444 run: |
45− if [ "$(awk -F ':' '/^version/ {gsub(/ /, "", $2); print $2}' compaREST.cabal)" != "0.0.0.1" ]; then
45+ if [ "$(awk -F ':' '/^version/ {gsub(/ /, "", $2); print $2}' compaREST.cabal)" != "${{ github.event.release.tag_name }}" ]; then
4646 echo "::error file=compaREST.cabal::Library version does not match release version."
4747 exit 1
4848 fi
@@ -50,7 +50,7 @@ jobs:
5050 - name: Check docker tag
5151 if: github.event_name == 'release'
5252 run: |
53− if [ "$(yq eval '.runs.image' action.yaml | awk -F ':' '{print $NF}')" != "latet" ]; then
53+ if [ "$(yq eval '.runs.image' action.yaml | awk -F ':' '{print $NF}')" != "${{ github.event.release.tag_name }}" ]; then
5454 echo "::error file=action.yaml::Action docker tag does not match release tag."
5555 exit 1
5656 fi