mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1778 from YunoHost/fix-makge_changelog
This commit is contained in:
commit
023207f0b6
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
VERSION="?"
|
||||
RELEASE="testing"
|
||||
REPO=$(basename $(git rev-parse --show-toplevel))
|
||||
REPO_URL="https://github.com/yunohost/yunohost"
|
||||
REPO_URL=$(git remote get-url origin)
|
||||
ME=$(git config --global --get user.name)
|
||||
EMAIL=$(git config --global --get user.email)
|
||||
|
||||
|
@ -11,7 +11,7 @@ echo "$REPO ($VERSION) $RELEASE; urgency=low"
|
|||
echo ""
|
||||
|
||||
git log $LAST_RELEASE.. -n 10000 --first-parent --pretty=tformat:' - %b%s (%h)' \
|
||||
| sed -E "s&Merge .*#([0-9]+).*\$& \([#\1]\($REPO_URL/pull/\1\)\)&g" \
|
||||
| sed -E "s&Merge .*#([0-9]+).*\$& \([#\1]\(http://github.com/YunoHost/$REPO/pull/\1\)\)&g" \
|
||||
| grep -v "Translations update from Weblate" \
|
||||
| tac
|
||||
|
||||
|
@ -22,7 +22,7 @@ TRANSLATIONS=$(git log $LAST_RELEASE... -n 10000 --pretty=format:"%s" \
|
|||
[[ -z "$TRANSLATIONS" ]] || echo " - [i18n] Translations updated for $TRANSLATIONS"
|
||||
|
||||
echo ""
|
||||
CONTRIBUTORS=$(git logc $LAST_RELEASE... -n 10000 --pretty=format:"%an" \
|
||||
CONTRIBUTORS=$(git log -n10 --pretty=format:'%Cred%h%Creset %C(bold blue)(%an) %Creset%Cgreen(%cr)%Creset - %s %C(yellow)%d%Creset' --abbrev-commit $LAST_RELEASE... -n 10000 --pretty=format:"%an" \
|
||||
| sort | uniq | grep -v "$ME" | grep -v 'yunohost-bot' | grep -vi 'weblate' \
|
||||
| tr '\n' ', ' | sed -e 's/,$//g' -e 's/,/, /g')
|
||||
[[ -z "$CONTRIBUTORS" ]] || echo " Thanks to all contributors <3 ! ($CONTRIBUTORS)"
|
||||
|
|
Loading…
Add table
Reference in a new issue