diff --git a/.woodpecker.yml b/.woodpecker.yml index 43f8403..4ef723b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -45,8 +45,8 @@ pipeline: - find prometheus-tlsrpt-exporter -type f -exec chmod 0644 {} \; - find prometheus-tlsrpt-exporter -type d -exec chmod 755 {} \; - chmod +x prometheus-tlsrpt-exporter/usr/bin/prometheus-tlsrpt-exporter prometheus-tlsrpt-exporter/DEBIAN/postinst prometheus-tlsrpt-exporter/DEBIAN/prerm - - sed -re "s/__VERSION__/${EXPORTER_VERSION}-1/g" -i prometheus-tlsrpt-exporter/DEBIAN/control + - sed -re "s/__VERSION__/$${EXPORTER_VERSION}-1/g" -i prometheus-tlsrpt-exporter/DEBIAN/control - dpkg-deb --build prometheus-tlsrpt-exporter - - mv prometheus-tlsrpt-exporter.deb "prometheus-tlsrpt-exporter_${EXPORTER_VERSION}-1_all.deb" - - sudo -u nobody lintian "prometheus-tlsrpt-exporter_${EXPORTER_VERSION}-1_all.deb" + - mv prometheus-tlsrpt-exporter.deb "prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" + - sudo -u nobody lintian "prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" - sha256sum *.deb > SHA256SUMS