From c2d99c3d97ba37227cc0a7d93ef4d9adf46dac4d Mon Sep 17 00:00:00 2001 From: Colin Jones Date: Fri, 23 Sep 2011 15:01:06 -0500 Subject: [PATCH] Tweak deploy script to allow for multiple zipfiles per day --- script/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/deploy.sh b/script/deploy.sh index 2d9d20e..4a6ca7a 100755 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -1,8 +1,8 @@ #!/bin/sh git push -zip -r clojure-koans-`date +"%Y-%m-%d"`.zip . -x "./.git/*" +zip -r clojure-koans-`date +"%Y-%m-%d_%H-%M"`.zip . -x "./.git/*" echo echo "Don't forget to upload the zipfile!" -echo `ls -tr clojure-koans-*.zip | head -n1` +echo `ls -t clojure-koans-*.zip | head -n1`