From f114439afc1c13fc5005f95c261792c04b534bd7 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 2 Mar 2019 22:33:39 -0600 Subject: [PATCH] Ensure the format for the package build will work right. --- templates/packagebuild.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/packagebuild.xml b/templates/packagebuild.xml index 7e3edb0..642216a 100644 --- a/templates/packagebuild.xml +++ b/templates/packagebuild.xml @@ -39,7 +39,11 @@ false - {{ SHELL_COMMAND }} + + git clone {{ UPSTREAM_URL }} upstream && + export DATE="$(head -1 {{ NAME }}/debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)+git$(date +'%Y%m%d%H%M')" && + echo $DATE +