From 03bbdfff6150136885aad810fd2e989197ff1e8a Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 2 Jan 2021 19:57:49 +0100 Subject: build: debian do not build version bump commits --- build-aux/build-debian.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build-aux') diff --git a/build-aux/build-debian.sh b/build-aux/build-debian.sh index 803849d..a783241 100755 --- a/build-aux/build-debian.sh +++ b/build-aux/build-debian.sh @@ -77,10 +77,14 @@ cp -r "${SRCDIR}/debian" "${BUILDDIR}/${P}/" pushd "${BUILDDIR}/${P}" > /dev/null -dch \ +## skip build silently when new version is older than last changelog version (version bump) +if !dch \ --distribution "${DIST}" \ --newversion "${PV}-${REV}" \ "Automated build for ${DIST}" +then + exit 0 +fi pdebuild \ --pbuilder cowbuilder \ -- cgit v1.2.3-18-g5258