Update deploy script to get lein1 deps and omit GH

This commit is contained in:
Colin Jones 2013-03-02 15:01:59 -06:00
parent 3d49ddbdb7
commit 784ff0166a

View File

@ -1,20 +1,16 @@
#!/bin/sh
mkdir -p releases
lein1 deps
zip -r releases/clojure-koans-`date +"%Y-%m-%d_%H-%M"`.zip \
. \
-x "./.git/*" \
-x "releases/*"
echo
echo "Don't forget to upload the zipfile"
echo " to https://github.com/functional-koans/clojure-koans/downloads"
echo "Don't forget to upload the zipfile (somewhere...)"
echo `ls -t releases/clojure-koans-*.zip | head -n1`
echo "git push"
echo "git push --tags"
echo
# TODO: use http://developer.github.com/v3/repos/downloads/
# to do the upload automatically
# GET example:
# curl https://api.github.com/repos/functional-koans/clojure-koans/downloads