fix: ci not working in dash
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
s3lph 2023-07-29 04:15:03 +02:00
parent 3469248af1
commit 9904dd31af

View file

@ -27,7 +27,7 @@ pipeline:
- mkdir -p package/debian/prometheus-dnssec-exporter/usr/share/doc/prometheus-dnssec-exporter - mkdir -p package/debian/prometheus-dnssec-exporter/usr/share/doc/prometheus-dnssec-exporter
- | - |
(for ref in $(git tag --sort=-refname | grep -v v0.0.0); do (for ref in $(git tag --sort=-refname | grep -v v0.0.0); do
echo -e "prometheus-dnssec-exporter ($${ref:1}) stable; urgency=medium\n" echo -e "prometheus-dnssec-exporter ($(echo "$${ref}" | sed -re s/^v//)) stable; urgency=medium\n"
git log --format=' * %s' "$(git describe --tags --abbrev=0 $${ref}^)..$${ref}" git log --format=' * %s' "$(git describe --tags --abbrev=0 $${ref}^)..$${ref}"
DATE="$(git log --tags --simplify-by-decoration --pretty='format:%aD' "$${ref}^..$${ref}")" DATE="$(git log --tags --simplify-by-decoration --pretty='format:%aD' "$${ref}^..$${ref}")"
echo -e "\n -- s3lph <s3lph@kabelsalat.ch> $${DATE}\n" echo -e "\n -- s3lph <s3lph@kabelsalat.ch> $${DATE}\n"