Escape All The Things.

This commit is contained in:
Simon Quigley 2019-03-02 22:55:19 -06:00
parent 133782da84
commit 68eb1bacc3

View File

@ -44,7 +44,7 @@ mkdir {{ NAME }};
mv -v debian {{ NAME }};
git clone {{ UPSTREAM_URL }} upstream;
export VERSION="$(head -1 {{ NAME }}/debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)+git$(date +'%Y%m%d%H%M')";
sed -i "1i{{ NAME }} ($VERSION-0ubuntu1~ppa1) {{ RELEASE }}; urgency=low\n\n * CI upload.\n\n &#8211;&#8211; Lugito <info@lubuntu.me> $(date +'%a, %d %b %Y %T %z')\n" {{ NAME }}/debian/changelog
sed -i "1i{{ NAME }} ($VERSION-0ubuntu1~ppa1) {{ RELEASE }}; urgency=low\n\n * CI upload.\n\n &#8211;&#8211; Lugito &lt;info@lubuntu.me&gt; $(date +'%a, %d %b %Y %T %z')\n" {{ NAME }}/debian/changelog
cat {{ NAME }}/debian/changelog
</command>
</hudson.tasks.Shell>