don't add an autobuild changelog to stable releases
authorIvan Kohler <ivan@freeside.biz>
Sun, 19 Mar 2017 16:40:48 +0000 (09:40 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sun, 19 Mar 2017 16:40:48 +0000 (09:40 -0700)
bin/freeside-debian-releases.sh

index 03a163a..c774dd8 100755 (executable)
@@ -39,8 +39,9 @@ else
 fi
 
 # Add the build information to changelog
-
-dch -b --newversion $GIT_VERSION-$DATE "Auto-Build"
+if [ $FS_REPO != "stable" ]; then
+       dch -b --newversion $GIT_VERSION-$DATE "Auto-Build"
+fi
 
 # Using pbuilder and pdebuild in chroot instead of building directly : dpkg-buildpackage -b -rfakeroot -uc -us