Skip to content

Commit

Permalink
fix: removed verbose flag on conventional-changelog unless debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
robcoward committed Jul 24, 2024
1 parent e0f5505 commit 999779d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ info "New version: ${NEW_VERSION}"
git tag "${TAG_PREFIX}${NEW_VERSION}"

info "Generating CHANGELOG.md"
run conventional-changelog -v -n ${CONFIG} -p conventionalcommits -i ${TF_MODULE_PATH}/CHANGELOG.md -s -r 0 -t ${TAG_PREFIX} --commit-path ${TF_MODULE_PATH} -u false
if [[ ${DEBUG} == "true" ]]; then
CHANGELOG_VERBOSE_FLAG=" -v"
else
CHANGELOG_VERBOSE_FLAG=""
fi
run conventional-changelog ${CHANGELOG_VERBOSE_FLAG} -n ${CONFIG} -p conventionalcommits -i ${TF_MODULE_PATH}/CHANGELOG.md -s -r 0 -t ${TAG_PREFIX} --commit-path ${TF_MODULE_PATH} -u false
if [[ "${status}" == "0" ]]; then
success "Success!"
else
Expand Down

0 comments on commit 999779d

Please sign in to comment.