Avoid the need to remove old release zips
This commit is contained in:
parent
9c2fd12c58
commit
23cbe0ea09
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,6 +1,6 @@
|
|||||||
bin
|
bin
|
||||||
classes
|
classes
|
||||||
lib
|
lib
|
||||||
|
releases
|
||||||
*.jar
|
*.jar
|
||||||
.DS_Store
|
.DS_Store
|
||||||
clojure-koans*.zip
|
|
||||||
|
@ -1,8 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
git push
|
git push
|
||||||
zip -r clojure-koans-`date +"%Y-%m-%d_%H-%M"`.zip . -x "./.git/*"
|
mkdir -p releases
|
||||||
|
zip -r releases/clojure-koans-`date +"%Y-%m-%d_%H-%M"`.zip \
|
||||||
|
. \
|
||||||
|
-x "./.git/*" \
|
||||||
|
-x "releases/*"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Don't forget to upload the zipfile!"
|
echo "Don't forget to upload the zipfile"
|
||||||
echo `ls -t clojure-koans-*.zip | head -n1`
|
echo " to https://github.com/functional-koans/clojure-koans/downloads"
|
||||||
|
echo `ls -t releases/clojure-koans-*.zip | head -n1`
|
||||||
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user