mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
[skip ci] add commits instructions
This commit is contained in:
parent
8f1b56bb6c
commit
469c28eae8
@ -4,6 +4,8 @@
|
||||
|
||||
latestTag=`git describe | grep -oE "^[^-]+"`
|
||||
|
||||
echo "Comaparing $latestTag...dev"
|
||||
|
||||
diff=`git --no-pager log $latestTag...dev --pretty="%s (%an) (%h)"`
|
||||
|
||||
echo
|
||||
@ -15,3 +17,10 @@ echo
|
||||
echo "# Fixes"
|
||||
echo "$diff" | awk '!/feat/'
|
||||
echo "$diff" | awk '!/feat/' | grep -oE "[0-9a-f]{8}" > .git/fix.txt
|
||||
|
||||
echo
|
||||
echo "To apply diff into target banch:"
|
||||
echo "$ git cherry-pick \`tac .git/fix.txt\`"
|
||||
echo "In case of conflicts:"
|
||||
echo "$ yarn"
|
||||
echo "$ git cherry-pick --continue"
|
||||
|
Loading…
Reference in New Issue
Block a user