Use a semicolon instead.

master
Simon Quigley 5 years ago
parent f114439afc
commit ba7b008eb2

@ -40,8 +40,8 @@
<builders> <builders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command> <command>
git clone {{ UPSTREAM_URL }} upstream && 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')" && 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 echo $DATE
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>

Loading…
Cancel
Save