mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(shell) rm log.sh
This commit is contained in:
parent
14c8d9709a
commit
6651359529
1 changed files with 0 additions and 26 deletions
26
shell/log.sh
26
shell/log.sh
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
if test -z $1
|
||||
then
|
||||
echo 'log.sh <tag>'
|
||||
else
|
||||
FIX=`git log $1..HEAD --pretty=format:"- %s" --grep fix | sed 's/fix//g'`
|
||||
|
||||
if test -n FIX
|
||||
then
|
||||
echo 'fix:'
|
||||
git log $1..HEAD --pretty=format:"- %s" --grep feature | sed 's/feature//g'
|
||||
fi
|
||||
|
||||
FEATURE=$(git log $1..HEAD --pretty=format:"- %s" --grep feature | sed 's/feature//g')
|
||||
|
||||
if test -n FEATURE
|
||||
then
|
||||
echo 'feature:'
|
||||
git log $1..HEAD --pretty=format:"- %s" --grep feature | sed 's/feature//g'
|
||||
fi
|
||||
|
||||
if test -n FIX || test -z FEATURE
|
||||
then
|
||||
echo '\n'
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue