Skip to content

Commit ec6a2d6

Browse files
FIX (releases): Fix version generation
1 parent b94d927 commit ec6a2d6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)