1. Miki Tebeka
  2. fs

Commits

Miki Tebeka  committed b8cc5dd

One jar

  • Participants
  • Parent commits db14dc6
  • Branches default
  • Tags 0.2.0

Comments (0)

Files changed (1)

File push.sh

View file
  • Ignore whitespace
 
 set -x
 
+version=$(egrep -o "[0-9]+\.[0-9]+\.[0-9]+(-SNAPSHOT)?" project.clj  | head -1)
+jar=fs-${version}.jar
+
+if [ -f $jar ]; then
+    rm $jar
+fi
 lein jar
 lein pom
-scp pom.xml fs*.jar clojars@clojars.org:
+scp pom.xml $jar clojars@clojars.org: