don't add an autobuild changelog to stable releases
[freeside.git] / 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