Skip to content

Commit ea048d9

Browse files
committed
fix(relase): Correctly create commit message.
# Issue Using `\n` did not generate the intended effect. # Fix Use the correct approach: > -m <msg>, --message=<msg> > Use the given <msg> as the commit message. If multiple -m options are given, their values are concatenated as separate paragraphs.
1 parent 08993d4 commit ea048d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
readonly branch_name="bump-app-autoscaler-cli-plugin-to-${NEW_TAG}"
6767
git switch --create="${branch_name}"
6868
git add .
69-
git commit --message="Bump app-autoscaler-cli-plugin to ${NEW_TAG}\n\nThis is an automated commit to bump app-autoscaler-cli-plugin to [${NEW_TAG}](https://github.com/cloudfoundry/app-autoscaler-cli-plugin/releases/tag/${NEW_TAG})."
69+
git commit --message="Bump app-autoscaler-cli-plugin to ${NEW_TAG}" --message="This is an automated commit to bump app-autoscaler-cli-plugin to [${NEW_TAG}](https://github.com/cloudfoundry/app-autoscaler-cli-plugin/releases/tag/${NEW_TAG})."
7070
git push origin "${branch_name}"
7171
# gh pr create --fill --head "origin:${branch_name}" --base main # This currently not working due to https://github.com/cli/cli/issues/2691
7272
popd

0 commit comments

Comments
 (0)