File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ should_include_workspace() {
108108git log --no-merges --format=" %H" $COMMIT_RANGE -- rust/main | while read -r commit_hash; do
109109 # Get commit message
110110 commit_msg=$( git log -1 --format=" %s" " $commit_hash " )
111- short_hash=$( echo " $commit_hash " | cut -c1-7)
112111
113112 # Get files changed in this commit (within rust/main)
114113 files=$( git diff-tree --no-commit-id --name-only -r " $commit_hash " -- rust/main)
@@ -136,8 +135,8 @@ git log --no-merges --format="%H" $COMMIT_RANGE -- rust/main | while read -r com
136135 # Sanitize workspace name for file system (replace / with __)
137136 workspace_file=$( echo " $workspace " | tr ' /' ' _' )
138137
139- # Store commit in workspace category file
140- echo " $workspace |$commit_msg | $short_hash " >> " $TEMP_DIR /$workspace_file "
138+ # Store commit in workspace category file (just message, PR# already in message)
139+ echo " $workspace |$commit_msg " >> " $TEMP_DIR /$workspace_file "
141140done
142141
143142# Function to generate changelog for a specific workspace
@@ -151,8 +150,8 @@ generate_workspace_changelog() {
151150 echo " ### $workspace "
152151 echo " "
153152 fi
154- sort -u " $TEMP_DIR /$workspace_file " | while IFS=' |' read -r ws msg hash ; do
155- echo " * $msg (# $hash ) "
153+ sort -u " $TEMP_DIR /$workspace_file " | while IFS=' |' read -r ws msg; do
154+ echo " * $msg "
156155 done
157156 fi
158157}
You can’t perform that action at this time.
0 commit comments