Add detect and release scripts. Taken from clojure buildpack.