From 09673ce967896a60bb4e29afe8ef2cf5e60792a7 Mon Sep 17 00:00:00 2001 From: William Petit Date: Fri, 15 Mar 2019 11:47:10 +0100 Subject: [PATCH] Ignore release/XXX tags by default --- hooks/prebuild/debian/create-changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hooks/prebuild/debian/create-changelog b/hooks/prebuild/debian/create-changelog index 496ba8d..d0c1586 100755 --- a/hooks/prebuild/debian/create-changelog +++ b/hooks/prebuild/debian/create-changelog @@ -7,6 +7,13 @@ if [ -f debian/changelog ] || [ ! -d .git ]; then exit fi +# Check ignore release tag +IGNORE_RELEASE_TAG=$(tamarin_db get ignore_release_tag "yes") +if [ "${IGNORE_RELEASE_TAG}" == "yes" ]; then + tamarin_warn "Release tag is ignored. Add 'ignore_release_tag=no' in .tamarinrc to enable." + exit +fi + # Get commits log as changelog BUILD_TAG=$(tamarin_db get build_tag "last")