Browse Source

Ignore release/XXX tags by default

develop
William Petit 5 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
7 7
     exit
8 8
 fi
9 9
 
10
+# Check ignore release tag
11
+IGNORE_RELEASE_TAG=$(tamarin_db get ignore_release_tag "yes")
12
+if [ "${IGNORE_RELEASE_TAG}" == "yes" ]; then
13
+  tamarin_warn "Release tag is ignored. Add 'ignore_release_tag=no' in .tamarinrc to enable."
14
+  exit
15
+fi
16
+
10 17
 # Get commits log as changelog
11 18
 
12 19
 BUILD_TAG=$(tamarin_db get build_tag "last")

Loading…
Cancel
Save