Skip to content

Commit 4209e99

Browse files
committed
fix(ci): fix commit message output
1 parent 8c51221 commit 4209e99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build_release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,9 @@ jobs:
303303
echo "BUILD_VERSION_NUM=$(echo "$(git rev-list --count HEAD | tr -d '\n')")" >> $GITHUB_ENV
304304
echo "BUILD_VERSION_SHA=$(echo "$(git rev-parse HEAD | tr -d '\n'])")" >> $GITHUB_ENV
305305
echo "BUILD_VERSION_STR=$(echo "$(git rev-list --count HEAD | tr -d '\n')-$(git rev-parse HEAD | tr -d '\n'])")" >> $GITHUB_ENV
306-
echo "COMMIT_MSG=$(echo "$(git log -1 --pretty=%B)")" >> $GITHUB_ENV
307-
306+
echo "COMMIT_MSG<<EOF" >> $GITHUB_ENV
307+
echo "$(echo "$(git log -1 --pretty=%B)")" >> $GITHUB_ENV
308+
echo "EOF" >> $GITHUB_ENV
308309
- name: Download artifacts
309310
uses: actions/download-artifact@v2
310311
with:

0 commit comments

Comments
 (0)