if, not for !
Some checks are pending
build & package varnish exporter / build (push) Blocked by required conditions
build & package varnish exporter / validate (push) Successful in 4s

This commit is contained in:
Ludovic Cartier
2025-07-21 16:02:50 +02:00
parent b3a868de26
commit 0b0d743d43

View File

@@ -20,7 +20,7 @@ jobs:
run: | run: |
CURRENT=`cat .version` CURRENT=`cat .version`
LATEST=`curl --silent https://api.github.com/repos/jonnenauha/prometheus_varnish_exporter/releases/latest | jq -r .tag_name | sed "s/v//"` LATEST=`curl --silent https://api.github.com/repos/jonnenauha/prometheus_varnish_exporter/releases/latest | jq -r .tag_name | sed "s/v//"`
if [[ $LATEST -gt $CURRENT ]]; then echo $LATEST > .version; echo "status=build" >> $GITEA_OUTPUT; done if [[ $LATEST -gt $CURRENT ]]; then echo $LATEST > .version; echo "status=build" >> $GITEA_OUTPUT; fi
- uses: stefanzweifel/git-auto-commit-action@v6 - uses: stefanzweifel/git-auto-commit-action@v6
with: with: