From 133782da84dcc58594a0bbb8b593361e4f203e2f Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 2 Mar 2019 22:53:44 -0600 Subject: [PATCH] XML apparently hates dashes – sigh. --- templates/packagebuild.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/packagebuild.xml b/templates/packagebuild.xml index 111b401..9c482d5 100644 --- a/templates/packagebuild.xml +++ b/templates/packagebuild.xml @@ -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 -- Lugito $(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 –– Lugito $(date +'%a, %d %b %Y %T %z')\n" {{ NAME }}/debian/changelog cat {{ NAME }}/debian/changelog