mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 18:32:47 +00:00
changelog.sh: sort and list only unique changes
This commit is contained in:
parent
2148f6320e
commit
52b7d2ec44
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ for p in "${packs[@]}";do
|
||||||
echo "Generating changes for $p as of $date..."
|
echo "Generating changes for $p as of $date..."
|
||||||
cd "$p"
|
cd "$p"
|
||||||
changes+="\nChanges to $p since $date:"
|
changes+="\nChanges to $p since $date:"
|
||||||
pchanges="$(git log --since=$date --format=' * %s')"
|
pchanges="$(git log --since=$date --format=' * %s' | sort -u)"
|
||||||
if [ -z "$pchanges" ];then
|
if [ -z "$pchanges" ];then
|
||||||
pchanges=" * none"
|
pchanges=" * none"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue