mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 10:22:46 +00:00
changelog.sh: attempt to use the latest tag date if none passed
This commit is contained in:
parent
adab774201
commit
de70f0b876
1 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
date="${1:-2015-03-02}"
|
||||
date="$1"
|
||||
if [ -z "$1" ];then
|
||||
git pull --tags
|
||||
date="$(git log --tags --simplify-by-decoration --pretty='%ad' --date='short' | head -n1)"
|
||||
fi
|
||||
packs=("ariya-icons" "kdelibs" "kde-baseapps" "kde-workspace" "kde-extraapps" "kde-l10n")
|
||||
cwd="$(pwd)"
|
||||
if [ -z "$date" ];then
|
||||
|
|
Loading…
Add table
Reference in a new issue