Ignore release/XXX tags by default

This commit is contained in:
wpetit 2019-03-15 11:47:10 +01:00
parent f87c18f907
commit 09673ce967
1 changed files with 7 additions and 0 deletions

View File

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