aboutsummaryrefslogtreecommitdiff
path: root/bin/mkrelease.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mkrelease.sh')
-rwxr-xr-xbin/mkrelease.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/bin/mkrelease.sh b/bin/mkrelease.sh
new file mode 100755
index 0000000..7c712e0
--- /dev/null
+++ b/bin/mkrelease.sh
@@ -0,0 +1,23 @@
+#! /usr/bin/env sh
+
+readonly BASEDIR=$(CDPATH="" cd -- "$(dirname -- "$0")/.." && pwd -P)
+
+main()
+{
+ if [ -z "$1" ]
+ then
+ usage
+ exit 1
+ fi
+
+ cd -- "$BASEDIR"
+ make -f tools/star/Makefile all VERSION="$1"
+ make -f tools/star/Makefile release VERSION="$1"
+}
+
+usage()
+{
+ print "NYI"
+}
+
+main "$@"