Skip to content

Commit

Permalink
Fixing issue with line breaks in Git commit messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
tHerrmann committed Nov 9, 2018
1 parent 73e905a commit 8fc47ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_version_properties.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [ $OPENCMS_GIT_BRANCH == "HEAD" ]; then
fi
OPENCMS_GIT_ID="${GIT_COMMIT:0:7}"
OPENCMS_GIT_BRANCH_SHOWN="${OpenCmsGitBranchShown:-$OPENCMS_GIT_BRANCH}"
OPENCMS_GIT_COMMIT_MESSAGE=$(git log -1 --pretty=%B | cat)
OPENCMS_GIT_COMMIT_MESSAGE=$(git log -1 --pretty=%B | cat | tr '\n' ' ')

#
# The OpenCms version ID.
Expand Down

0 comments on commit 8fc47ec

Please sign in to comment.