git.iko.soy/deriving-openapi3
on master help sign in
Made version check actually work
commit24fd4b5f79cf525c6770548ac9f39f7acb953a19 authoriko <ilyakooo0@gmail.com> dateWed 21 Dec 2022, 16:39 (4 years ago) parent25fa4f3
1 file changed+1−1
.github/workflows/build.yaml+1−1
.github/workflows/build.yaml+1−1
@@ -17,7 +17,7 @@ jobs:
1717 - name: Check library version
1818 if: github.event_name == 'release'
1919 run: |
20− if [ "$(awk -F":" '{if ($1 == "version") {gsub(/ /, "", $2); print $2}}')" != "${{ github.event.release.tag_name }}" ]; then
20+ if [ "$(awk -F":" '{if ($1 == "version") {gsub(/ /, "", $2); print $2}}' *.cabal)" != "${{ github.event.release.tag_name }}" ]; then
2121 echo "::error file=action.yaml::Library version does not match release version."
2222 exit 1
2323 fi