From 4b955737230d8f11c64aa4cfce40a0c94dc0449b Mon Sep 17 00:00:00 2001 From: s3lph Date: Sun, 23 Jul 2023 21:09:28 +0200 Subject: [PATCH] fix: ci --- .woodpecker.yml | 4 ++-- .../doc/prometheus-tlsrpt-exporter/changelog | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog diff --git a/.woodpecker.yml b/.woodpecker.yml index c39e575..10cf50c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -37,9 +37,9 @@ pipeline: - echo -n > package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog - | for version in "$(cat CHANGELOG.md | grep '" | grep -B 1000 "<"'!'"-- END CHANGES ${version} -->" | tail -n +2 | head -n -1 | sed -re 's/^-/ */g' >> package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog - echo "\n -- ${PACKAGE_AUTHOR} $(date -R)\n" >> package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog + echo -e "\n -- ${PACKAGE_AUTHOR} $(date -R)\n" >> package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog done - gzip -9n package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog - mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter diff --git a/package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog b/package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog new file mode 100644 index 0000000..734faf0 --- /dev/null +++ b/package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog @@ -0,0 +1,15 @@ +prometheus-tlsrpt-exporter (0.1-1); urgency=medium\n + * Initial version +\n -- Sun, 23 Jul 2023 19:08:06 +0000\n +prometheus-tlsrpt-exporter (0.1-1); urgency=medium + + * Initial version + + -- Sun, 23 Jul 2023 19:08:54 +0000 + +prometheus-tlsrpt-exporter (0.1-1); urgency=medium + + * Initial version + + -- s3lph@kabelsalat.ch Sun, 23 Jul 2023 19:09:18 +0000 +