summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/tagrelease15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/tagrelease b/misc/tagrelease
new file mode 100755
index 0000000..4cf44c7
--- /dev/null
+++ b/misc/tagrelease
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# Usage: tagrelease version
+#
+
+if [ -z "$1" ]; then
+ echo "Usage: $0 version" 1>&2
+ exit 1
+fi
+
+echo "$1" > version
+git add version
+git commit -m "NASM $1"
+git tag -m "NASM $1" -a nasm-"$1"
+