fix: shell variable expansion in changelog generation

This commit is contained in:
Marco Cadetg
2025-10-13 12:00:37 +02:00
parent ddcc51ffbf
commit a2b2e09b0b

View File

@@ -90,11 +90,11 @@ jobs:
REVISION="${{ steps.version.outputs.debian_revision }}"
TIMESTAMP=$(date -R)
echo "rustnet-monitor (\${VERSION}-\${REVISION}) jammy; urgency=medium" > changelog.new
echo "rustnet-monitor ($VERSION-$REVISION) jammy; urgency=medium" > changelog.new
echo "" >> changelog.new
echo " * Backport to Ubuntu 22.04 Jammy" >> changelog.new
echo "" >> changelog.new
echo " -- Marco Cadetg <cadetg@gmail.com> \${TIMESTAMP}" >> changelog.new
echo " -- Marco Cadetg <cadetg@gmail.com> $TIMESTAMP" >> changelog.new
echo "" >> changelog.new
cat changelog >> changelog.new
mv changelog.new changelog