[cassandra-harry] 01/02: Prepare for release.

2022-02-07 Thread ifesdjeen
This is an automated email from the ASF dual-hosted git repository.

ifesdjeen pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/cassandra-harry.git

commit 66e93a37dc9d7c0a48ddd86beceb734aca796abd
Author: Alex Petrov 
AuthorDate: Mon Feb 7 14:05:22 2022 +0100

Prepare for release.
---
 README.md| 39 
 harry-core/src/harry/generators/PCGFastPure.java |  2 +-
 pom.xml  |  3 +-
 3 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 5c45c09..9c6b7bf 100644
--- a/README.md
+++ b/README.md
@@ -730,6 +730,45 @@ This list of improvements is incomplete, and should only 
give the reader a rough
 idea about the state of the project. Main goal for the initial release was to 
make it
 useful, now we can make it fast and feature-complete!
 
+# How to cut a release
+
+## Publishing snapshot
+
+Make sure `~/.m2/settings.xml` contains records for the following:
+
+```
+
+  apache.snapshots.https
+  username
+  password
+
+
+  apache.releases.https
+  username
+  password
+
+```
+
+```
+mvn versions:set -DnewVersion=0.0.2-`git rev-parse --short HEAD`-SNAPSHOT
+mvn deploy
+```
+
+# Releasing
+
+1. Prepare the release:
+
+```
+mvn release:clean
+CURRENT=0.0.CURRENT
+NEXT_DEV=0.0.NEXT
+mvn -DreleaseVersion=$CURRENT -Dtag=$CURRENT 
-DdevelopmentVersion=$NEXT_DEV-SNAPSHOT release:prepare
+mvn release:perform
+```
+
+2. Close staging repository: https://repository.apache.org/#stagingRepositories
+3. Issue a vote on developers mailing list. Add your GPG key signature, 
release SHA, and staged artifacts to release information.
+
 # Contributors
 
   * [Alex Petrov](https://github.com/ifesdjeen)
diff --git a/harry-core/src/harry/generators/PCGFastPure.java 
b/harry-core/src/harry/generators/PCGFastPure.java
index 9e438dc..caed276 100644
--- a/harry-core/src/harry/generators/PCGFastPure.java
+++ b/harry-core/src/harry/generators/PCGFastPure.java
@@ -25,7 +25,7 @@ package harry.generators;
  * https://github.com/imneme/pcg-c
  * https://github.com/imneme/pcg-cpp
  * 
- * Original library developed by Melissa O'Neill 
+ * Original library developed by Melissa O'Neill (one...@pcg-random.org)
  */
 public class PCGFastPure
 {
diff --git a/pom.xml b/pom.xml
index 276a670..fab3634 100755
--- a/pom.xml
+++ b/pom.xml
@@ -50,9 +50,10 @@
 
 
 
+true
 1.8
 0.0.1-SNAPSHOT
-4.1-58515c2de6
+4.0.1-1a05fcf52b
 2.11.3
 0.0.7
 1.11.3

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[cassandra-harry] 01/02: Prepare for release.

2022-02-07 Thread ifesdjeen
This is an automated email from the ASF dual-hosted git repository.

ifesdjeen pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/cassandra-harry.git

commit 66e93a37dc9d7c0a48ddd86beceb734aca796abd
Author: Alex Petrov 
AuthorDate: Mon Feb 7 14:05:22 2022 +0100

Prepare for release.
---
 README.md| 39 
 harry-core/src/harry/generators/PCGFastPure.java |  2 +-
 pom.xml  |  3 +-
 3 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 5c45c09..9c6b7bf 100644
--- a/README.md
+++ b/README.md
@@ -730,6 +730,45 @@ This list of improvements is incomplete, and should only 
give the reader a rough
 idea about the state of the project. Main goal for the initial release was to 
make it
 useful, now we can make it fast and feature-complete!
 
+# How to cut a release
+
+## Publishing snapshot
+
+Make sure `~/.m2/settings.xml` contains records for the following:
+
+```
+
+  apache.snapshots.https
+  username
+  password
+
+
+  apache.releases.https
+  username
+  password
+
+```
+
+```
+mvn versions:set -DnewVersion=0.0.2-`git rev-parse --short HEAD`-SNAPSHOT
+mvn deploy
+```
+
+# Releasing
+
+1. Prepare the release:
+
+```
+mvn release:clean
+CURRENT=0.0.CURRENT
+NEXT_DEV=0.0.NEXT
+mvn -DreleaseVersion=$CURRENT -Dtag=$CURRENT 
-DdevelopmentVersion=$NEXT_DEV-SNAPSHOT release:prepare
+mvn release:perform
+```
+
+2. Close staging repository: https://repository.apache.org/#stagingRepositories
+3. Issue a vote on developers mailing list. Add your GPG key signature, 
release SHA, and staged artifacts to release information.
+
 # Contributors
 
   * [Alex Petrov](https://github.com/ifesdjeen)
diff --git a/harry-core/src/harry/generators/PCGFastPure.java 
b/harry-core/src/harry/generators/PCGFastPure.java
index 9e438dc..caed276 100644
--- a/harry-core/src/harry/generators/PCGFastPure.java
+++ b/harry-core/src/harry/generators/PCGFastPure.java
@@ -25,7 +25,7 @@ package harry.generators;
  * https://github.com/imneme/pcg-c
  * https://github.com/imneme/pcg-cpp
  * 
- * Original library developed by Melissa O'Neill 
+ * Original library developed by Melissa O'Neill (one...@pcg-random.org)
  */
 public class PCGFastPure
 {
diff --git a/pom.xml b/pom.xml
index 276a670..fab3634 100755
--- a/pom.xml
+++ b/pom.xml
@@ -50,9 +50,10 @@
 
 
 
+true
 1.8
 0.0.1-SNAPSHOT
-4.1-58515c2de6
+4.0.1-1a05fcf52b
 2.11.3
 0.0.7
 1.11.3

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org