on master help sign in
wip
commit0d1545851df5f25ba72ef63494bc166f1c30910e authoriko <ilyakooo0@gmail.com> dateTue 28 Dec 2021, 20:58 (5 years ago) parent5b5fd17
2 files changed+5−3
.github/workflows/github-actions-image.yaml+2−2 policeman.json+3−1
.github/workflows/github-actions-image.yaml+2−2
@@ -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
policeman.json+3−1
@@ -1,5 +1,7 @@
11[{
22 "file": "compaREST.cabal",
33 "title": "👮 Policeman",
4− "annotation_level": "notice"
4+ "annotation_level": "notice",
5+ "start-line": 0,
6+ "end_lins": 0
57}]