Update Fork #9

Merged
chmodsayshello merged 403 commits from MineClone5/MineClone5:master into master 2022-08-02 15:50:37 +02:00
3 changed files with 31 additions and 6 deletions
Showing only changes of commit d0cd3ad478 - Show all commits

View File

@ -6,6 +6,7 @@ Alexander Minges
aligator aligator
ArTee3 ArTee3
Artem Arbatsky Artem Arbatsky
balazsszalab
basxto basxto
Benjamin Schötz Benjamin Schötz
Blue Blancmange Blue Blancmange
@ -13,6 +14,7 @@ Booglejr
Brandon Brandon
Bu-Gee Bu-Gee
bzoss bzoss
CableGuy67
chmodsayshello chmodsayshello
Code-Sploit Code-Sploit
cora cora
@ -31,6 +33,7 @@ Emojigit
epCode epCode
erlehmann erlehmann
FinishedFragment FinishedFragment
FlamingRCCars
Glaucos Ginez Glaucos Ginez
Gustavo Ramos Rehermann Gustavo Ramos Rehermann
Guy Liner Guy Liner
@ -39,6 +42,7 @@ HimbeerserverDE
iliekprogrammar iliekprogrammar
j1233 j1233
Jared Moody Jared Moody
Johannes Fritz
jordan4ibanez jordan4ibanez
kabou kabou
kay27 kay27
@ -46,13 +50,14 @@ Laurent Rocher
Li0n Li0n
marcin-serwin marcin-serwin
Marcin Serwin Marcin Serwin
Mark Roth
Mental-Inferno Mental-Inferno
Midgard Midgard
MysticTempest MysticTempest
Nicholas Niro Nicholas Niro
nickolas360 nickolas360
Nicu Nicu
nikolaus-albinger Niklp
Nils Dagsson Moskopp Nils Dagsson Moskopp
NO11 NO11
NO411 NO411
@ -60,6 +65,7 @@ Oil_boi
pitchum pitchum
PrairieAstronomer PrairieAstronomer
PrairieWind PrairieWind
River River
Rocher Laurent Rocher Laurent
rootyjr rootyjr
Rootyjr Rootyjr
@ -68,6 +74,7 @@ Sab Pyrope
Saku Laesvuori Saku Laesvuori
sfan5 sfan5
SmallJoker SmallJoker
Sumyjkl
superfloh247 superfloh247
Sven792 Sven792
Sydney Gems Sydney Gems
@ -75,6 +82,7 @@ talamh
TechDudie TechDudie
Thinking Thinking
Tianyang Zhang Tianyang Zhang
unknown
U.N.Owen U.N.Owen
Wouters Dorian Wouters Dorian
wuniversales wuniversales

View File

@ -1,8 +1,4 @@
Please run the following command to update contributor list: Please run `./update_credits.sh` from [tools](../../../tools) folder to update contributor list.
```bash
# git log --pretty="%an" | sort | uniq >CONTRUBUTOR_LIST.txt
```
Please check that there is no error on execution, and `CONTRUBUTOR_LIST.txt` is updated. Please check that there is no error on execution, and `CONTRUBUTOR_LIST.txt` is updated.

21
tools/update_credits.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
#
TMP_FILE=$(mktemp /tmp/mcl5.XXXXXXXX)
git --version 2>/dev/null 1>/dev/null
IS_GIT_AVAILABLE=$?
if [ $IS_GIT_AVAILABLE -ne 0 ]; then
echo "Please install git!\n\n"
fi
`git log --pretty="%an" 1>$TMP_FILE 2>/dev/null`
IS_GIT_REPO=$?
if [ $IS_GIT_REPO -ne 0 ]; then
echo "You have to be inside a git repo to update CONTRUBUTOR_LIST.txt\n\n"
fi
# Edit names here:
sed -i 's/nikolaus-albinger/Niklp/g' $TMP_FILE
cat $TMP_FILE | sort | uniq >../mods/HUD/mcl_credits/CONTRUBUTOR_LIST.txt