Automatically generate debian changelog

This commit is contained in:
Hamish Coleman 2023-08-28 13:15:23 +01:00
parent 3cb57e2a6e
commit 0385d4fcbe
7 changed files with 7 additions and 10 deletions

View File

@ -410,6 +410,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install debhelper build-essential \
devscripts \
crossbuild-essential-${{ matrix.arch }}
- name: Configure

1
.gitignore vendored
View File

@ -24,7 +24,6 @@ build
.idea
.vscode
.vs
packages/debian/debian/changelog
packages/debian/debian/control
packages/debian/debian/files
packages/debian/debian/rules

View File

@ -19,6 +19,7 @@ pkg:
install -m644 ../../community.list ${N2N_BUILD}/usr/share/doc/n2n/examples/
install -m644 ../../doc/*.md ${N2N_BUILD}/usr/share/doc/n2n/
@/bin/rm -f ../n2n*.deb
DEBEMAIL=builder@example.com dch -v @N2N_VERSION@ --no-auto-nmu Auto Build
dpkg-buildpackage -rfakeroot -d -us -uc -a@EXTN@
-dpkg-sig --sign builder -k D1EB60BE ../n2n_*deb
@\rm -f ../n2n_*dsc ../n2n_*.gz ../n2n_*changes

View File

@ -1,6 +1,6 @@
Prerequisites
-------------
apt-get install debhelper fakeroot dpkg-sig
apt-get install debhelper fakeroot dpkg-sig devscripts
EdgeOS
------

View File

@ -32,13 +32,9 @@ if test "${with_edgex+set}" = set; then
EXTN="mipsel"
fi
DATE=`date -R`
AC_SUBST(N2N_VERSION)
AC_SUBST(EXTN)
AC_SUBST(DATE)
AC_CONFIG_FILES(debian/changelog)
AC_CONFIG_FILES(debian/files)
AC_CONFIG_FILES(debian/control)
AC_CONFIG_FILES(debian/rules)

View File

@ -0,0 +1,4 @@
n2n (3.0) table; urgency=high
* Last stable release
-- Luca Deri <deri@ntop.org> Wed, 27 Oct 2021 20:43:08 +0200

View File

@ -1,4 +0,0 @@
n2n (@N2N_VERSION@) table; urgency=high
* Last packaged version
-- Luca Deri <deri@ntop.org> @DATE@