[maven-release-plugin] prepare for next development iteration
[cassandra-in-jvm-dtest-api.git] / README.md
index 665d90448c1d44a3a12d2739ca6fb97d8013fba0..236e137f3ac0321c03195b4bb3a8383713bddea6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2,13 +2,22 @@
 
 Shared API package for in-JVM distributed tests.
 
+# Publishing snapshot
+
+```
+mvn versions:set -DnewVersion=0.0.2-`git rev-parse --short HEAD`-SNAPSHOT
+mvn deploy
+```
+
 # Releasing
 
 1. Prepare the release:
 
 ```
 mvn release:clean
-mvn release:prepare
+CURRENT=0.0.CURRENT
+NEXT_DEV=0.0.NEXT
+mvn -DreleaseVersion=$CURRENT -Dtag=$CURRENT -DdevelopmentVersion=$NEXT_DEV-SNAPSHOT release:prepare
 mvn release:perform
 ```