Skip to content

Commit fc06a7f

Browse files
committed
Fix release script
Signed-off-by: Rob Stryker <rob@oxbeef.net>
1 parent 8d025dc commit fc06a7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

npmUpversionMicroTagPush.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323

2424
echo ""
2525
echo "These are the commits for the release"
26-
commits=`git lg | grep -n -m 1 "Upversion to " |sed 's/\([0-9]*\).*/\1/' | tail -n 1`
26+
commits=`git log --color --pretty=format:'%h - %s' --abbrev-commit | grep -n -m 1 "Upversion to " |sed 's/\([0-9]*\).*/\1/' | tail -n 1`
2727
commitMsgs=`git log --color --pretty=format:'%h - %s' --abbrev-commit | head -n $commits`
2828
echo "$commitMsgs"
2929
read -p "Press enter to continue"

0 commit comments

Comments
 (0)