From 8125d73b766a4454c68765239a986ce5d364ce52 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sun, 3 Mar 2019 00:00:21 -0600 Subject: [PATCH] Use pastebinit to see the issue, the logs aren't clear. --- templates/packagebuild.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/packagebuild.xml b/templates/packagebuild.xml index 83b20b2..a0ee047 100644 --- a/templates/packagebuild.xml +++ b/templates/packagebuild.xml @@ -45,11 +45,11 @@ 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')"; export CHANGELOG_ENTRY="{{ NAME }} ($VERSION-0ubuntu1~ppa1) {{ RELEASE }}; urgency=low\n\n * CI upload.\n\n –– Lugito <info@lubuntu.me> $(date +'%a, %d %b %Y %T %z')\n" -echo $CHANGELOG_ENTRY +cat {{ NAME }}/debian/changelog | pastebinit; sed -i "1i$CHANGELOG_ENTRY" {{ NAME }}/debian/changelog; tar cvf {{ NAME }}_$VERSION.orig.tar upstream; gzip {{ NAME }}_$VERSION.orig.tar; -(cd {{ NAME }}; debuild -S -d -sa -k234778F3D70C2B9785EB7426E7BE29862BE6F574; dput {{ UPLOAD_TARGET }} ../{{ NAME }}_$VERSION-0ubuntu1~ppa1_source.changes) +(cd {{ NAME }}; debuild -S -d -sa -k234778F3D70C2B9785EB7426E7BE29862BE6F574; cat ../{{ NAME }}_$VERSION-0ubuntu1~ppa1_source.changes | pastebinit)