This commit is contained in:
parent
b4f07503d9
commit
4b95573723
2 changed files with 17 additions and 2 deletions
|
@ -37,9 +37,9 @@ pipeline:
|
||||||
- echo -n > package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog
|
- echo -n > package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog
|
||||||
- |
|
- |
|
||||||
for version in "$(cat CHANGELOG.md | grep '<!-- BEGIN CHANGES' | cut -d ' ' -f 4)"; do
|
for version in "$(cat CHANGELOG.md | grep '<!-- BEGIN CHANGES' | cut -d ' ' -f 4)"; do
|
||||||
echo "prometheus-tlsrpt-exporter (${version}-1); urgency=medium\n" >> package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog
|
echo -e "prometheus-tlsrpt-exporter (${version}-1); urgency=medium\n" >> package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog
|
||||||
cat CHANGELOG.md | grep -A 1000 "<"'!'"-- BEGIN CHANGES ${version} -->" | 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
|
cat CHANGELOG.md | grep -A 1000 "<"'!'"-- BEGIN CHANGES ${version} -->" | 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
|
done
|
||||||
- gzip -9n package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog
|
- 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
|
- mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue