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")