mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-07-17 05:37:55 +00:00
645931f55d
mostly commented out. must be fixed and other mods to main /src, must be imported
24 lines
635 B
Bash
24 lines
635 B
Bash
#!/bin/bash
|
|
|
|
git config --global credential.helper store
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd $DIR
|
|
|
|
cd /home/hw2/usr/workspace/projects/AzerothShard/server-live
|
|
git pull
|
|
cd $DIR
|
|
rm old.log
|
|
mv new.log old.log
|
|
cd /home/hw2/usr/workspace/projects/AzerothShard/server-live
|
|
git log origin/development --no-merges --pretty=format:'<%an> %s' > $DIR/new.log
|
|
cd $DIR
|
|
awk '!/DEV-OP/' new.log > temp && mv temp new.log
|
|
comm -13 <(sort -u old.log) <(sort -u new.log) > shout.log
|
|
|
|
while read p; do
|
|
echo "announcing $p\n"
|
|
sudo screen -X -S worldserver-live -p 0 stuff "announce 'DEV: $p' ^M"
|
|
sleep 1
|
|
done <shout.log
|