diff --git a/Makefile b/Makefile
index 640802a..633842b 100644
--- a/Makefile
+++ b/Makefile
@@ -120,26 +120,6 @@ test:
kill `cat /tmp/sentinel2.pid`
kill `cat /tmp/sentinel3.pid`
-release:
- echo "$$REDIS1_CONF" | redis-server -
- echo "$$REDIS2_CONF" | redis-server -
- echo "$$REDIS3_CONF" | redis-server -
- echo "$$REDIS4_CONF" | redis-server -
- echo "$$REDIS_SENTINEL1" | redis-sentinel -
- echo "$$REDIS_SENTINEL2" | redis-sentinel -
- echo "$$REDIS_SENTINEL3" | redis-sentinel -
-
- mvn clean deploy
-
- kill `cat /tmp/redis1.pid`
- kill `cat /tmp/redis2.pid`
- # this get's segfaulted by the tests
- kill `cat /tmp/redis3.pid` || true
- kill `cat /tmp/redis4.pid`
- kill `cat /tmp/sentinel1.pid`
- kill `cat /tmp/sentinel2.pid`
- kill `cat /tmp/sentinel3.pid`
-
deploy:
echo "$$REDIS1_CONF" | redis-server -
echo "$$REDIS2_CONF" | redis-server -
@@ -160,4 +140,26 @@ deploy:
kill `cat /tmp/sentinel2.pid`
kill `cat /tmp/sentinel3.pid`
+release:
+ echo "$$REDIS1_CONF" | redis-server -
+ echo "$$REDIS2_CONF" | redis-server -
+ echo "$$REDIS3_CONF" | redis-server -
+ echo "$$REDIS4_CONF" | redis-server -
+ echo "$$REDIS_SENTINEL1" | redis-sentinel -
+ echo "$$REDIS_SENTINEL2" | redis-sentinel -
+ echo "$$REDIS_SENTINEL3" | redis-sentinel -
+
+ mvn release:clean
+ mvn release:prepare
+ mvn release:perform
+
+ kill `cat /tmp/redis1.pid`
+ kill `cat /tmp/redis2.pid`
+ # this get's segfaulted by the tests
+ kill `cat /tmp/redis3.pid` || true
+ kill `cat /tmp/redis4.pid`
+ kill `cat /tmp/sentinel1.pid`
+ kill `cat /tmp/sentinel2.pid`
+ kill `cat /tmp/sentinel3.pid`
+
.PHONY: test
diff --git a/pom.xml b/pom.xml
index 04693a2..0e9b85a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
jar
redis.clients
jedis
- 2.2.0-SNAPSHOT
+ 2.2.0
Jedis
Jedis is a blazingly small and sane Redis java client.
https://github.com/xetorthio/jedis
@@ -41,6 +41,7 @@
scm:git:git@github.com:xetorthio/jedis.git
scm:git:git@github.com:xetorthio/jedis.git
scm:git:git@github.com:xetorthio/jedis.git
+ jedis-2.2.0