From 55f37ec30eec58ab2f1929c0d598b79576feaa37 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Wed, 6 Mar 2024 15:39:23 -0800 Subject: [PATCH] Fix exclusion of commits when skip commits not set Signed-off-by: Derek McGowan --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index cf2ebfa..9a21bd5 100644 --- a/main.go +++ b/main.go @@ -415,7 +415,8 @@ This tool should be ran from the root of the project repository for a new releas r.Dependencies = updatedDeps if highlights { r.Highlights = groupHighlights(projectChanges) - } else { + } + if !highlights || !skipCommits { r.Changes = projectChanges } r.Tag = tag