diff options
Diffstat (limited to 'build-aux/build-debian.sh')
-rwxr-xr-x | build-aux/build-debian.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 \ |