Browse Source

Ignore release/XXX tags by default

develop
wpetit 9 months ago
parent
commit
09673ce967
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      hooks/prebuild/debian/create-changelog

+ 7
- 0
hooks/prebuild/debian/create-changelog 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")

Loading…
Cancel
Save