-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chores: update changelog for 11.2.1 & add make_changelog script
- Loading branch information
1 parent
65d6942
commit 497ea8a
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
moulinette (11.2.1) stable; urgency=low | ||
|
||
- repo chores: various black enhancements | ||
- [i18n] Translations updated for Arabic, Basque, Catalan, Chinese (Simplified), Czech, Dutch, English, Esperanto, French, Galician, German, Hindi, Indonesian, Italian, Japanese, Nepali, Norwegian Bokmål, Persian, Polish, Portuguese, Russian, Spanish, Swedish, Turkish, Ukrainian | ||
|
||
Thanks to all contributors <3 ! (Alexandre Aubin, Francescc, José M, Metin Bektas, ppr, Psycojoker, rosbeef andino, Tagada, xabirequejo, xaloc33) | ||
|
||
-- OniriCorpe <[email protected]> Sun, 19 May 2024 23:49:00 +0200 | ||
|
||
moulinette (11.2) stable; urgency=low | ||
|
||
- [i18n] Translations updated for Japanese | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
VERSION="11.2.1" | ||
RELEASE="stable" | ||
REPO=$(basename $(git rev-parse --show-toplevel)) | ||
REPO_URL=$(git remote get-url origin) | ||
ME=$(git config --get user.name) | ||
EMAIL=$(git config --get user.email) | ||
|
||
LAST_RELEASE=$(git tag --list 'debian/11.*' --sort="v:refname" | tail -n 1) | ||
|
||
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]\(http://github.com/YunoHost/$REPO/pull/\1\)\)&g" \ | ||
| sed -E "/Co-authored-by: .* <.*>/d" \ | ||
| grep -v "Translations update from Weblate" \ | ||
| tac | ||
|
||
TRANSLATIONS=$(git log $LAST_RELEASE... -n 10000 --pretty=format:"%s" \ | ||
| grep "Translated using Weblate" \ | ||
| sed -E "s/Translated using Weblate \((.*)\)/\1/g" \ | ||
| sort | uniq | tr '\n' ', ' | sed -e 's/,$//g' -e 's/,/, /g') | ||
[[ -z "$TRANSLATIONS" ]] || echo " - [i18n] Translations updated for $TRANSLATIONS" | ||
|
||
echo "" | ||
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)" | ||
echo "" | ||
echo " -- $ME <$EMAIL> $(date -R)" | ||
echo "" | ||
|
||
|
||
|
||
# PR links can be converted to regular texts using : sed -E 's@\[(#[0-9]*)\]\([^ )]*\)@\1@g' | ||
# Or readded with sed -E 's@#([0-9]*)@[YunoHost#\1](https://github.com/yunohost/yunohost/pull/\1)@g' | sed -E 's@\((\w+)\)@([YunoHost/\1](https://github.com/yunohost/yunohost/commit/\1))@g' |