]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
add a script to tag releases
authorRudolf Polzer <divverent@alientrap.org>
Thu, 23 Dec 2010 12:57:18 +0000 (13:57 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 23 Dec 2010 12:58:30 +0000 (13:58 +0100)
misc/tools/tag-release.sh [new file with mode: 0755]

diff --git a/misc/tools/tag-release.sh b/misc/tools/tag-release.sh
new file mode 100755 (executable)
index 0000000..c390eb2
--- /dev/null
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+VER=$1
+
+case "$VER" in
+       '')
+               echo "Need version number as argument"
+               exit 1
+               ;;
+       *)
+               ;;
+esac
+
+for r in \
+       /home/rpolzer/Games/Xonotic/. \
+       /home/rpolzer/Games/Xonotic/data/xonotic-data.pk3dir \
+       /home/rpolzer/Games/Xonotic/data/xonotic-music.pk3dir \
+       /home/rpolzer/Games/Xonotic/data/xonotic-nexcompat.pk3dir \
+       /home/rpolzer/Games/Xonotic/darkplaces \
+       /home/rpolzer/Games/Xonotic/d0_blind_id \
+       /home/rpolzer/Games/Xonotic/data/xonotic-maps.pk3dir \
+       /home/rpolzer/Games/Xonotic/mediasource \
+       /home/rpolzer/Games/Xonotic/fteqcc
+do
+       cd "$r"
+       git tag -u D276946B -m"version $VER" xonotic-v"$VER"
+done
+
+# excluded repos because not included with releases:
+#      /home/rpolzer/Games/Xonotic/netradiant \
+#      /home/rpolzer/Games/Xonotic/div0-gittools \