diff --git a/.woodpecker.yml b/.woodpecker.yml index 1ba1947..cebb3f2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -27,7 +27,7 @@ pipeline: - 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 - 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}" DATE="$(git log --tags --simplify-by-decoration --pretty='format:%aD' "$${ref}^..$${ref}")" echo -e "\n -- s3lph $${DATE}\n"