about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-15 14:40:39 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-15 14:40:39 +0000
commit83d82aa6ac894b34b88f4311d4f2e6647dbab966 (patch)
tree648e4728004dea492c58612bd049a1a98c3c0af2 /scripts
parentc4915c5bd99fb82c338d0ba4a3cbe136e5c305d1 (diff)
downloadzcatch-83d82aa6ac894b34b88f4311d4f2e6647dbab966.tar.gz
zcatch-83d82aa6ac894b34b88f4311d4f2e6647dbab966.zip
updated the scripts a bit
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make_release.py2
-rw-r--r--scripts/make_src.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/make_release.py b/scripts/make_release.py
index 211bb5b0..b5e692d2 100644
--- a/scripts/make_release.py
+++ b/scripts/make_release.py
@@ -72,7 +72,7 @@ if include_exe and not use_bundle:
 	shutil.copy("teewars_srv"+exe_ext, package_dir)
 	
 if include_src:
-	for p in ["src", "scripts", "datasrc", "other"]:
+	for p in ["src", "scripts", "datasrc", "other", "objs"]:
 		os.mkdir(os.path.join(package_dir, p))
 		copydir(p, package_dir)
 	shutil.copy("default.bam", package_dir)
diff --git a/scripts/make_src.py b/scripts/make_src.py
index 9cff10c7..bf732028 100644
--- a/scripts/make_src.py
+++ b/scripts/make_src.py
@@ -1,7 +1,7 @@
-import os, shutil, zipfile
+import os, shutil, zipfile, sys
 
-version = "0.3.0-test"
-svn_tree = "trunk"
+version = sys.argv[1]
+svn_tree = "tags/release-%s" % version
 
 # make clean
 if 1: