From 3f83cdf7783758d178014ed87ddfeadd588b670e Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 13 Apr 2019 13:53:57 -0500 Subject: [PATCH] No wonder that isn't working, we didn't even download the tar yet! Fix that. --- templates/package-stable.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/package-stable.xml b/templates/package-stable.xml index ba1c928..d2c774b 100644 --- a/templates/package-stable.xml +++ b/templates/package-stable.xml @@ -48,8 +48,9 @@ export UPSTREAM_VERSION="$(head -1 {{ NAME }}/debian/changelog | sed -n '/(/,/)/ export VERSION="$UPSTREAM_VERSION+git$(date +'%Y%m%d%H%M')~{{ RELEASE }}"; export DEBFULLNAME="Lugito" export DEBEMAIL="info@lubuntu.me" +(cd {{ NAME }}; uscan --download-current-version) bash -c 'for FILENAME in {{ NAME }}_$UPSTREAM_VERSION.orig*; do mv $FILENAME $(echo $FILENAME | sed "s/$UPSTREAM_VERSION/$VERSION/"); done' -(cd {{ NAME }}; uscan --download-current-version; dch --distribution {{ RELEASE }} --package "{{ NAME }}" --newversion "$VERSION-0ubuntu1~ppa1" "CI upload."; debuild -S -d -sa -k959BC9B671870639A1AC6E2F7FE7CC578F23E4CA; dput {{ UPLOAD_TARGET }} ../{{ NAME }}_$VERSION-0ubuntu1~ppa1_source.changes) +(cd {{ NAME }}; dch --distribution {{ RELEASE }} --package "{{ NAME }}" --newversion "$VERSION-0ubuntu1~ppa1" "CI upload."; debuild -S -d -sa -k959BC9B671870639A1AC6E2F7FE7CC578F23E4CA; dput {{ UPLOAD_TARGET }} ../{{ NAME }}_$VERSION-0ubuntu1~ppa1_source.changes) sleep 2m; git clone https://phab.lubuntu.me/source/ci-tooling.git tooling; ./tooling/ci/lp_check.py -p {{ NAME }} -v $VERSION-0ubuntu1~ppa1 -t lubuntu-ci -r stable-ci-proposed;