fix: ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
s3lph 2023-07-23 20:53:08 +02:00
parent fb688dbb67
commit d3411b084f
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -45,8 +45,8 @@ pipeline:
- find prometheus-tlsrpt-exporter -type f -exec chmod 0644 {} \; - find prometheus-tlsrpt-exporter -type f -exec chmod 0644 {} \;
- find prometheus-tlsrpt-exporter -type d -exec chmod 755 {} \; - 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 - 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 - dpkg-deb --build prometheus-tlsrpt-exporter
- mv prometheus-tlsrpt-exporter.deb "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" - sudo -u nobody lintian "prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb"
- sha256sum *.deb > SHA256SUMS - sha256sum *.deb > SHA256SUMS