Skip to content

Commit 61c08ec

Browse files
author
Nathan Marz
committed
added script to upload storm and storm-lib to maven
1 parent f147bf3 commit 61c08ec

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

bin/to_maven.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
RELEASE=`head -1 project.clj | awk '{print $3}' | sed -e 's/\"//' | sed -e 's/\"//'`
4+
5+
rm *jar
6+
rm *xml
7+
lein jar
8+
lein pom
9+
scp storm*jar pom.xml clojars@clojars.org:
10+
11+
rm *jar
12+
rm conf/log4j.properties
13+
lein jar
14+
mv pom.xml old-pom.xml
15+
sed 's/artifactId\>storm/artifactId\>storm-lib/g' old-pom.xml > pom.xml
16+
mv storm-$RELEASE.jar storm-lib-$RELEASE.jar
17+
scp storm*jar pom.xml clojars@clojars.org:
18+
rm *xml
19+
rm *jar
20+
git checkout conf/log4j.properties

0 commit comments

Comments
 (0)