Do not add Change-Id on packaging branches

Change-Id: I2a40d4d005dfab6b887833150cb6556e08622a1d
Reviewed-on: https://code.wireshark.org/review/28517
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Petri-Dish: Balint Reczey <balint@balintreczey.hu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
This commit is contained in:
Balint Reczey 2018-06-26 22:43:09 +02:00 committed by Roland Knall
parent 3431849a67
commit aff4900a6c
1 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,12 @@ add_ChangeId() {
return
fi
# Do not add Change-Id on packaging branches
if git branch | grep -q '^\* \(debian\|ubuntu\)/'
then
return
fi
# Does Change-Id: already exist? if so, exit (no change).
if grep -i '^Change-Id:' "$MSG" >/dev/null
then