Update deploy script to get lein1 deps and omit GH
This commit is contained in:
parent
3d49ddbdb7
commit
784ff0166a
@ -1,20 +1,16 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
mkdir -p releases
|
mkdir -p releases
|
||||||
|
lein1 deps
|
||||||
zip -r releases/clojure-koans-`date +"%Y-%m-%d_%H-%M"`.zip \
|
zip -r releases/clojure-koans-`date +"%Y-%m-%d_%H-%M"`.zip \
|
||||||
. \
|
. \
|
||||||
-x "./.git/*" \
|
-x "./.git/*" \
|
||||||
-x "releases/*"
|
-x "releases/*"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Don't forget to upload the zipfile"
|
echo "Don't forget to upload the zipfile (somewhere...)"
|
||||||
echo " to https://github.com/functional-koans/clojure-koans/downloads"
|
|
||||||
echo `ls -t releases/clojure-koans-*.zip | head -n1`
|
echo `ls -t releases/clojure-koans-*.zip | head -n1`
|
||||||
echo "git push"
|
echo "git push"
|
||||||
echo "git push --tags"
|
echo "git push --tags"
|
||||||
echo
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user