Permalink
Browse files

added script to upload storm and storm-lib to maven

  • Loading branch information...
1 parent 5c3bf86 commit 03cb9f377062cb38b15ef40270a830e2db103d92 @nathanmarz committed Dec 15, 2011
Showing with 20 additions and 0 deletions.
  1. +20 −0 bin/to_maven.sh
View
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+RELEASE=`head -1 project.clj | awk '{print $3}' | sed -e 's/\"//' | sed -e 's/\"//'`
+
+rm *jar
+rm *xml
+lein jar
+lein pom
+scp storm*jar pom.xml clojars@clojars.org:
+
+rm *jar
+rm conf/log4j.properties
+lein jar
+mv pom.xml old-pom.xml
+sed 's/artifactId\>storm/artifactId\>storm-lib/g' old-pom.xml > pom.xml
+mv storm-$RELEASE.jar storm-lib-$RELEASE.jar
+scp storm*jar pom.xml clojars@clojars.org:
+rm *xml
+rm *jar
+git checkout conf/log4j.properties

0 comments on commit 03cb9f3

Please sign in to comment.