File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ jobs:
109109
110110 # Get commits since last tag
111111 if [ "$LATEST_TAG" = "v0.0.0" ]; then
112- COMMITS=$(git log --pretty=format:"%s||| %H||| %an|| |%ad" --date=short --no-merges)
112+ COMMITS=$(git log --pretty=format:"%s|%H|%an|%ad" --date=short --no-merges)
113113 else
114- COMMITS=$(git log ${LATEST_TAG}..HEAD --pretty=format:"%s||| %H||| %an|| |%ad" --date=short --no-merges)
114+ COMMITS=$(git log ${LATEST_TAG}..HEAD --pretty=format:"%s|%H|%an|%ad" --date=short --no-merges)
115115 fi
116116
117117 # Create changelog
@@ -124,10 +124,10 @@ jobs:
124124
125125 while IFS= read -r line; do
126126 if [ -n "$line" ]; then
127- COMMIT_MSG=$(echo "$line" | cut -d'||| ' -f1)
128- COMMIT_HASH=$(echo "$line" | cut -d'||| ' -f2)
129- COMMIT_AUTHOR=$(echo "$line" | cut -d'||| ' -f3)
130- COMMIT_DATE=$(echo "$line" | cut -d'||| ' -f4)
127+ COMMIT_MSG=$(echo "$line" | cut -d'|' -f1)
128+ COMMIT_HASH=$(echo "$line" | cut -d'|' -f2)
129+ COMMIT_AUTHOR=$(echo "$line" | cut -d'|' -f3)
130+ COMMIT_DATE=$(echo "$line" | cut -d'|' -f4)
131131 SHORT_HASH=${COMMIT_HASH:0:7}
132132
133133 # Parse commit message format: TYPE (area): description
You can’t perform that action at this time.
0 commit comments