mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-04-05 15:21:28 +00:00
debian/changelog is one level up.
This commit is contained in:
parent
23c2e62fe9
commit
fa50e046ba
@ -41,7 +41,7 @@
|
||||
<hudson.tasks.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')";
|
||||
export DATE="$(head -1 debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)+git$(date +'%Y%m%d%H%M')";
|
||||
echo $DATE
|
||||
</command>
|
||||
</hudson.tasks.Shell>
|
||||
|
Loading…
x
Reference in New Issue
Block a user