diff --git a/.woodpecker.yml b/.woodpecker.yml index 0fc77bd..43f8403 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -45,6 +45,7 @@ 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 - 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"