c390eb2e54d128387e6d4176b4b5c33f3d3ad35d
[xonotic/xonotic.git] / misc / tools / tag-release.sh
1 #!/bin/sh
2
3 VER=$1
4
5 case "$VER" in
6         '')
7                 echo "Need version number as argument"
8                 exit 1
9                 ;;
10         *)
11                 ;;
12 esac
13
14 for r in \
15         /home/rpolzer/Games/Xonotic/. \
16         /home/rpolzer/Games/Xonotic/data/xonotic-data.pk3dir \
17         /home/rpolzer/Games/Xonotic/data/xonotic-music.pk3dir \
18         /home/rpolzer/Games/Xonotic/data/xonotic-nexcompat.pk3dir \
19         /home/rpolzer/Games/Xonotic/darkplaces \
20         /home/rpolzer/Games/Xonotic/d0_blind_id \
21         /home/rpolzer/Games/Xonotic/data/xonotic-maps.pk3dir \
22         /home/rpolzer/Games/Xonotic/mediasource \
23         /home/rpolzer/Games/Xonotic/fteqcc
24 do
25         cd "$r"
26         git tag -u D276946B -m"version $VER" xonotic-v"$VER"
27 done
28
29 # excluded repos because not included with releases:
30 #       /home/rpolzer/Games/Xonotic/netradiant \
31 #       /home/rpolzer/Games/Xonotic/div0-gittools \