Skip to content

Commit

Permalink
Avoid the need to remove old release zips
Browse files Browse the repository at this point in the history
  • Loading branch information
trptcolin committed Sep 24, 2011
1 parent 9c2fd12 commit 23cbe0e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,6 +1,6 @@
bin
classes
lib
releases
*.jar
.DS_Store
clojure-koans*.zip
12 changes: 9 additions & 3 deletions script/deploy.sh
@@ -1,8 +1,14 @@
#!/bin/sh

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 "Don't forget to upload the zipfile!"
echo `ls -t clojure-koans-*.zip | head -n1`
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

0 comments on commit 23cbe0e

Please sign in to comment.