You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by dc...@apache.org on 2022/03/30 15:57:49 UTC
[cassandra-in-jvm-dtest-api] 01/01: Updated setting newVersion to look up the current version
This is an automated email from the ASF dual-hosted git repository.
dcapwell pushed a commit to branch dcapwell-patch-1
in repository https://gitbox.apache.org/repos/asf/cassandra-in-jvm-dtest-api.git
commit 2421ce42326cfef04044ebf0c2a18076cd064622
Author: dcapwell <dc...@gmail.com>
AuthorDate: Wed Mar 30 08:57:44 2022 -0700
Updated setting newVersion to look up the current version
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 236e137..eb0bde5 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Shared API package for in-JVM distributed tests.
# Publishing snapshot
```
-mvn versions:set -DnewVersion=0.0.2-`git rev-parse --short HEAD`-SNAPSHOT
+mvn versions:set -DnewVersion=`xpath -n -q -e '/project/version/text()' pom.xml | awk -F- '{print $1}'`-`git rev-parse --short HEAD`-SNAPSHOT
mvn deploy
```
@@ -56,4 +56,4 @@ gpg --verbose --recv-keys --keyserver hkps://hkps.pool.sks-keyservers.net <YOUR_
svn co --depth files https://dist.apache.org/repos/dist/release/cassandra/ release
(gpg --list-sigs "<YOUR_NAME>" && gpg --armor --export "<YOUR_NAME>") >> KEYS
svn commit KEYS -m "Add <YOUR NAME>'s key for releases" # or ask some PMC to do this for you by opening CASSANDRA jira, like this one: https://issues.apache.org/jira/browse/CASSANDRA-15534
-```
\ No newline at end of file
+```
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org