Skip to content

Commit 690ad3c

Browse files
committed
trying to release jedis in maven central
1 parent e935065 commit 690ad3c

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

Makefile

+19
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,24 @@ release:
140140
kill `cat /tmp/sentinel2.pid`
141141
kill `cat /tmp/sentinel3.pid`
142142

143+
deploy:
144+
echo "$$REDIS1_CONF" | redis-server -
145+
echo "$$REDIS2_CONF" | redis-server -
146+
echo "$$REDIS3_CONF" | redis-server -
147+
echo "$$REDIS4_CONF" | redis-server -
148+
echo "$$REDIS_SENTINEL1" | redis-sentinel -
149+
echo "$$REDIS_SENTINEL2" | redis-sentinel -
150+
echo "$$REDIS_SENTINEL3" | redis-sentinel -
151+
152+
mvn clean deploy
153+
154+
kill `cat /tmp/redis1.pid`
155+
kill `cat /tmp/redis2.pid`
156+
# this get's segfaulted by the tests
157+
kill `cat /tmp/redis3.pid` || true
158+
kill `cat /tmp/redis4.pid`
159+
kill `cat /tmp/sentinel1.pid`
160+
kill `cat /tmp/sentinel2.pid`
161+
kill `cat /tmp/sentinel3.pid`
143162

144163
.PHONY: test

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<packaging>jar</packaging>
1010
<groupId>redis.clients</groupId>
1111
<artifactId>jedis</artifactId>
12-
<version>2.2.0</version>
12+
<version>2.2.0-SNAPSHOT</version>
1313
<name>Jedis</name>
1414
<description>Jedis is a blazingly small and sane Redis java client.</description>
1515
<url>https://github.com/xetorthio/jedis</url>

0 commit comments

Comments
 (0)