2011-09-23 19:29:33 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
git push
|
2011-09-24 18:22:58 +00:00
|
|
|
mkdir -p releases
|
|
|
|
zip -r releases/clojure-koans-`date +"%Y-%m-%d_%H-%M"`.zip \
|
|
|
|
. \
|
|
|
|
-x "./.git/*" \
|
|
|
|
-x "releases/*"
|
2011-09-23 19:29:33 +00:00
|
|
|
|
|
|
|
echo
|
2011-09-24 18:22:58 +00:00
|
|
|
echo "Don't forget to upload the zipfile"
|
|
|
|
echo " to https://github.com/functional-koans/clojure-koans/downloads"
|
|
|
|
echo `ls -t releases/clojure-koans-*.zip | head -n1`
|
|
|
|
echo
|
2011-09-28 19:00:38 +00:00
|
|
|
|
|
|
|
# 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
|