Skip to content

Commit

Permalink
Merge pull request #224 from tegonal/feature/commit-message
Browse files Browse the repository at this point in the history
allow the user to refine the message of the commit which is tagged
  • Loading branch information
robstoll authored Dec 6, 2024
2 parents b986fbc + 18e6f85 commit 69e4b44
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/releasing/release-template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,14 @@ function releaseTemplate() {

if [[ $prepareOnly != true ]]; then
git add . || return $?
git commit -m "$version" || return $?
git tag "$version" || return $?
git commit --edit -m "$version " || return $?
local signsTags
signsTags=$(git config --get tag.gpgSign)
if [[ $signsTags == true ]]; then
git tag -a "$version" -m "$version" || return $?
else
git tag "$version" || return $?
fi

"$prepareNextDevCycleFn" \
"$versionParamPatternLong" "$nextVersion" \
Expand Down

0 comments on commit 69e4b44

Please sign in to comment.