mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-07-11 03:13:10 +00:00
[AZTH] fixed gitlogger
This commit is contained in:
@@ -11,13 +11,13 @@ 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
|
||||
git log origin/master --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"
|
||||
screen -X -S worldserver-live -p 0 stuff "announce DEV: $p ^M"
|
||||
sleep 1
|
||||
done <shout.log
|
||||
|
||||
Reference in New Issue
Block a user