Skip to content

Commit

Permalink
fix: minor git commit msg improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
true committed Sep 5, 2022
1 parent aeb0fe9 commit 029e1c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ program
await git
//
.add('./*')
.raw('commit', '--message', `"Release: ${nextTagWithPrefix} ${skipCiFlag}"`)
.raw('commit', '--message', `Release: ${nextTagWithPrefix} ${skipCiFlag}`)
// Create tag and push it to master.
.addTag(nextTagWithPrefix)

Expand All @@ -255,7 +255,7 @@ program
// So we are overwriting last commit message and pushing to release branch.
await git
//
.raw('commit', '--message', `"Release: ${nextTagWithPrefix}"`, '--amend')
.raw('commit', '--message', `Release: ${nextTagWithPrefix}`, '--amend')
.push(remote.name, `${branch.current}:${releaseBranch}`)

// @Note: CI/CD should not be listening for tags in master, it should listen to release branch.
Expand Down

0 comments on commit 029e1c8

Please sign in to comment.