diff --git a/scripts/build.sh b/scripts/build.sh index b63151e..21872ef 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -16,4 +16,8 @@ echo "$ lein cljsbuild once prod" && lein cljsbuild once prod && echo "" && echo "$ lein uberjar" && -lein uberjar +lein uberjar && +mkdir target/builds +RELEASE_NAME=grub-`date "+%F-%H%M"`-`git rev-parse HEAD | cut -c -10`.jar && +mv target/grub-standalone.jar target/builds/$RELEASE_NAME && +echo "Built package target/builds/$RELEASE_NAME"