Add deploy scripts
diff --git a/build-deploy.sh b/build-deploy.sh
new file mode 100644
index 0000000..eee3a6b
--- /dev/null
+++ b/build-deploy.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+set -eux
+
+if [[ -d .git ]]; then
+  VERSION=-$(git show --pretty=format:%h -q)
+fi
+VERSION=$(date --iso-8601=minutes | tr -d ':' | sed 's|\+.*$||')${VERSION}
+
+dest=gerrit-linter-${VERSION}
+mkdir -p ${dest}
+
+trap "rm -rf ${dest}" 'EXIT'
+
+go build -o ${dest}/gerrit-linter  ./cmd/checker
+
+if [[ ! -f  google-java-format.jar ]] ; then
+  curl -o google-java-format.jar https://github.com/google/google-java-format/releases/download/google-java-format-1.7/google-java-format-1.7-all-deps.jar
+fi
+
+cp google-java-format.jar ${dest}/
+
+go build -o ${dest}/buildifier github.com/bazelbuild/buildtools/buildifier
+
+cp $(which gofmt) ${dest}/
+
+tar cfz ${dest}.tar.gz ${dest}/
diff --git a/deploy.sh b/deploy.sh
new file mode 100644
index 0000000..ca9f91f
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+latest=$(ls -1tr | grep tar.gz | tail -1)
+
+scp vm-deploy.sh ${latest} ${IP}:
+ssh ${IP} "sh vm-deploy.sh ${latest}"
diff --git a/vm-deploy.sh b/vm-deploy.sh
new file mode 100644
index 0000000..bc627db
--- /dev/null
+++ b/vm-deploy.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -eux
+
+t=$(basename $1 .tar.gz)
+
+tar fzx $t.tar.gz
+rm -f gerrit-linter
+ln -s $t gerrit-linter