--- /dev/null
+#!/bin/bash
+
+version=$(sbcl --noinform --disable-ldb --lose-on-corruption --end-runtime-options --eval '(format t "~A" (asdf:component-version (asdf:find-system :opera)))' --eval "(quit)")
+
+echo -n "Building version $version, hit enter to continue"
+read
+
+mkdir -p opera_$version/src/main
+cp -ap src/main/* opera_$version/src/main
+cp -ap opera.asd opera_$version/
+tar zcf opera_${version}.tar.gz opera_$version/
+rm -rf opera_$version
+
+echo "All done, it's in opera_${version}.tar.gz, you should tag it and push it up to github"