Set build package name based on datetime, commit
This commit is contained in:
parent
830451372a
commit
c1b6cc7a08
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue