From 11b85512a848eacc13c674a7ea6d426e724ea805 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Tue, 18 Feb 2020 11:54:44 +0100 Subject: [PATCH] Add bob.devtools to the output of changelog automatically --- bob/devtools/scripts/changelog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bob/devtools/scripts/changelog.py b/bob/devtools/scripts/changelog.py index 12813737..aa4fbc35 100644 --- a/bob/devtools/scripts/changelog.py +++ b/bob/devtools/scripts/changelog.py @@ -126,7 +126,8 @@ def changelog(target, changelog, group, mode, since): # Since tagging packages requires bob.devtools to be tagged first. Add that to the # list as well. Note that bob.devtools can release itself. - packages.insert(0, "bob/bob.devtools") + if len(packages) > 1: + packages.insert(0, "bob/bob.devtools") # iterates over the packages and dumps required information for package in packages: -- GitLab