We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d025dc commit fc06a7fCopy full SHA for fc06a7f
1 file changed
npmUpversionMicroTagPush.sh
@@ -23,7 +23,7 @@ fi
23
24
echo ""
25
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`
+commits=`git log --color --pretty=format:'%h - %s' --abbrev-commit | grep -n -m 1 "Upversion to " |sed 's/\([0-9]*\).*/\1/' | tail -n 1`
27
commitMsgs=`git log --color --pretty=format:'%h - %s' --abbrev-commit | head -n $commits`
28
echo "$commitMsgs"
29
read -p "Press enter to continue"
0 commit comments