2018-05-16 16:32:41 +00:00
|
|
|
#!/bin/bash
|
2018-06-17 23:02:49 +00:00
|
|
|
git rm --cached -rfq '*/*' ':!:.github/*' # Unstage everything in folders in case a plugin got removed
|
2018-05-16 16:32:41 +00:00
|
|
|
readarray -t plugins < plugins.txt # -t removes trailing newlines
|
|
|
|
for i in "${plugins[@]}"
|
|
|
|
do
|
2018-06-03 22:18:12 +00:00
|
|
|
if [ -d $i -a $i != "DiscordPlugin" -a $i != "OpenInv" ]; then
|
2018-05-16 16:32:41 +00:00
|
|
|
find $i -name "config.yml" -exec git add -f '{}' \; # All files are ignored, need to force add
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
find . -path './Movecraft/types/*.craft' -exec git add -f '{}' \;
|
2018-05-18 18:14:28 +00:00
|
|
|
git add -f 'dynmap/configuration.txt' 'dynmap/worlds.txt'
|
2018-05-23 14:27:02 +00:00
|
|
|
git add -f 'MythicMobs/*' ':!:MythicMobs/SavedData/*'
|
2018-05-31 22:33:22 +00:00
|
|
|
git add -f ':(glob)Jobs/*.yml' ':!:Jobs/furnaceBrewingStands.yml'
|
|
|
|
git add -f 'Towny/settings/townyperms.yml'
|
2018-06-08 21:19:15 +00:00
|
|
|
git add -f 'PlotSquared/*' ':!:PlotSquared/*storage*'
|
2018-06-13 18:23:25 +00:00
|
|
|
git add -f 'PermissionsEx/permissions.yml'
|
2018-06-13 19:01:00 +00:00
|
|
|
git add -f 'Multiverse-Core/worlds.yml'
|
2018-06-13 23:09:47 +00:00
|
|
|
git add -f 'ServerRunner/config.yml' # Not a plugin
|
2018-06-19 11:02:15 +00:00
|
|
|
git add -f 'DungeonsXL/dungeons' 'DungeonsXL/scripts'
|
2018-07-01 00:27:55 +00:00
|
|
|
git add -f ':(glob)TerrainControl/*' 'TerrainControl/worlds/world/*'
|
2018-07-01 16:22:50 +00:00
|
|
|
git add -f 'Server/*' # Files are hardlinked from one above
|
2018-05-18 18:14:28 +00:00
|
|
|
|
2018-05-16 16:32:41 +00:00
|
|
|
git add -f update.sh download.sh
|
|
|
|
|
2018-08-01 18:26:37 +00:00
|
|
|
sudo -H git commit -S && git push #sudo -H needed for GPG signing
|
2018-06-24 19:54:35 +00:00
|
|
|
|