M .builds/debian-stable.yml => .builds/debian-stable.yml +11 -1
@@ 14,11 14,21 @@ tasks:
echo "deb-src http://ftp.ca.debian.org/debian/ stable main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get build-dep -y asterisk
+- hash_version: |
+ cd asterisk
+ (
+ printf "asterisk (1:16.2.1~dfsg-2+%s) buster; urgency=medium\n\n" \
+ "$(git rev-parse --short HEAD)"
+ printf " * Autogenerated\n\n"
+ printf " -- %s %s\n\n" "$(git show -s --format='%an <%ae>')" "$(date -R)"
+ cat debian/changelog
+ ) > debian/changelog.aug
+ mv debian/changelog.aug debian/changelog
- deborig: |
cd asterisk
git deborig
- build: |
cd asterisk
- dgit build
+ dgit --ignore-dirty build
- artifact: |
tar -cvJf asterisk-packages.tar.xz *.deb