File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 old_commit="$(git log -3 --pretty=format:"%H" | tail -n1)"
2828 wget -O ../master.map https://github.com/DDNetPP/maps/raw/master/blmapV3multistarbox.map
2929 wget -O ../old.map "https://github.com/DDNetPP/maps/raw/$old_commit/blmapV3multistarbox.map"
30- wget -O ../twmap-edit https://zillyhuhn.com/tmp/twmap-edit && chmod +x ../twmap-edit
31- chmod +x ../twmap-edit
30+ cargo install twmap-tools
3231 wget -O ../diff.sh https://raw.githubusercontent.com/lib-crash/lib-teeworlds/ffd36e74cc55dfd6f49ab08122d4a09a6a090ead/misc/mapdir_git_diff.sh
3332 chmod +x ../diff.sh
3433
3938
4039 - name : Diff prev commit
4140 run : |
42- ../ twmap-edit ../old.map old --mapdir
43- ../ twmap-edit blmapV3multistarbox.map new --mapdir
41+ twmap-edit ../old.map old --mapdir
42+ twmap-edit blmapV3multistarbox.map new --mapdir
4443 cd old || exit 1
4544 {
4645 git config --global init.defaultBranch main
6463
6564 - name : Diff master
6665 run : |
67- ../ twmap-edit ../master.map master --mapdir
66+ twmap-edit ../master.map master --mapdir
6867 cd master || exit 1
6968 {
7069 git config --global init.defaultBranch main
You can’t perform that action at this time.
0 commit comments