mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-05-03 22:01:27 +00:00
Edit the changelog.
This commit is contained in:
parent
fa50e046ba
commit
5d13ab6913
@ -40,9 +40,12 @@
|
|||||||
<builders>
|
<builders>
|
||||||
<hudson.tasks.Shell>
|
<hudson.tasks.Shell>
|
||||||
<command>
|
<command>
|
||||||
git clone {{ UPSTREAM_URL }} upstream;
|
mkdir {{ NAME }};
|
||||||
export DATE="$(head -1 debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)+git$(date +'%Y%m%d%H%M')";
|
mv -v debian {{ NAME }};
|
||||||
echo $DATE
|
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')";
|
||||||
|
sed -i "1i{{ 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" {{ NAME }}/debian/changelog
|
||||||
|
cat {{ NAME }}/debian/changelog
|
||||||
</command>
|
</command>
|
||||||
</hudson.tasks.Shell>
|
</hudson.tasks.Shell>
|
||||||
</builders>
|
</builders>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user