From 03af31631a7a245bce76161cbad1a8b0179a38db Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Fri, 3 Mar 2023 23:59:31 +0300 Subject: [PATCH] add changelog generator --- debian-firmware/debian/changelog | 5 ----- main.sh | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 debian-firmware/debian/changelog diff --git a/debian-firmware/debian/changelog b/debian-firmware/debian/changelog deleted file mode 100644 index 5f9b5bb..0000000 --- a/debian-firmware/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -linux-firmware (20220923.gitf09bebf3-99pika1) kinetic; urgency=medium - - * New Upstream Release - - -- Ward Nakchbandi Sat, 01 Oct 2022 14:50:00 +0200 diff --git a/main.sh b/main.sh index 215ab9d..a9b169a 100755 --- a/main.sh +++ b/main.sh @@ -6,7 +6,9 @@ add-apt-repository ppa:kubuntu-ppa/backports # Clone Upstream git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ cp -rvf ./debian-firmware/* ./linux-firmware/ -cd linux-firmware +cd ./linux-firmware +touch debian/changelog +echo -e "linux-firmware ("$(date '+%Y%m%d')".git-99pika"$(date '+%M')" kinetic; urgency=medium\n\n* New Upstream Release\n\n-- Ward Nakchbandi Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog # Get build deps apt-get build-dep ./ -y