mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 18:32:47 +00:00
changelog.sh: make the date argument option defaulting to latest (pre-)release
This commit is contained in:
parent
c25038381c
commit
bd9ed099aa
1 changed files with 3 additions and 3 deletions
|
@ -2,11 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
date="$1"
|
||||
date="${1:-2015-01-04}"
|
||||
packs=("ariya-icons" "kdelibs" "kde-baseapps" "kde-workspace" "kde-extraapps" "kde-l10n")
|
||||
cwd="$(pwd)"
|
||||
if [ -z "$date" ];then
|
||||
echo "Pass a date, e.g. 2015-01-04"
|
||||
echo "Pass a date"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -14,7 +14,7 @@ source "$(dirname $0)/fetch.sh"
|
|||
|
||||
changes=""
|
||||
for p in "${packs[@]}";do
|
||||
echo "Generating changes for $p..."
|
||||
echo "Generating changes for $p as of $date..."
|
||||
cd "$p"
|
||||
changes+="\nChanges to $p since $date:"
|
||||
pchanges="$(git log --since=$date --format=' * %s')"
|
||||
|
|
Loading…
Add table
Reference in a new issue