add target to release jedis in maven central
This commit is contained in:
42
Makefile
42
Makefile
@@ -120,26 +120,6 @@ test:
|
|||||||
kill `cat /tmp/sentinel2.pid`
|
kill `cat /tmp/sentinel2.pid`
|
||||||
kill `cat /tmp/sentinel3.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:
|
deploy:
|
||||||
echo "$$REDIS1_CONF" | redis-server -
|
echo "$$REDIS1_CONF" | redis-server -
|
||||||
echo "$$REDIS2_CONF" | redis-server -
|
echo "$$REDIS2_CONF" | redis-server -
|
||||||
@@ -160,4 +140,26 @@ deploy:
|
|||||||
kill `cat /tmp/sentinel2.pid`
|
kill `cat /tmp/sentinel2.pid`
|
||||||
kill `cat /tmp/sentinel3.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
|
.PHONY: test
|
||||||
|
|||||||
3
pom.xml
3
pom.xml
@@ -9,7 +9,7 @@
|
|||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<groupId>redis.clients</groupId>
|
<groupId>redis.clients</groupId>
|
||||||
<artifactId>jedis</artifactId>
|
<artifactId>jedis</artifactId>
|
||||||
<version>2.2.0-SNAPSHOT</version>
|
<version>2.2.0</version>
|
||||||
<name>Jedis</name>
|
<name>Jedis</name>
|
||||||
<description>Jedis is a blazingly small and sane Redis java client.</description>
|
<description>Jedis is a blazingly small and sane Redis java client.</description>
|
||||||
<url>https://github.com/xetorthio/jedis</url>
|
<url>https://github.com/xetorthio/jedis</url>
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
<connection>scm:git:git@github.com:xetorthio/jedis.git</connection>
|
<connection>scm:git:git@github.com:xetorthio/jedis.git</connection>
|
||||||
<url>scm:git:git@github.com:xetorthio/jedis.git</url>
|
<url>scm:git:git@github.com:xetorthio/jedis.git</url>
|
||||||
<developerConnection>scm:git:git@github.com:xetorthio/jedis.git</developerConnection>
|
<developerConnection>scm:git:git@github.com:xetorthio/jedis.git</developerConnection>
|
||||||
|
<tag>jedis-2.2.0</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
Reference in New Issue
Block a user