Skip to content

Commit 5d2a0dd

Browse files
committed
Start preparing for 1.2.0-SNAPSHOT development
1 parent 1eaf337 commit 5d2a0dd

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

doc/CONTRIBUTING.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,19 @@ gnome-text-editor ~/.m2/settings.xml
6161
</settings>
6262
```
6363

64-
Modify the `project.version` or `parent.version` of all `pom.xml` to the version we need to release.
65-
6664
Then execute the following command.
65+
Suppose the release to be released is `1.1.0`, and the next version is `1.2.0-SNAPSHOT`.
6766

6867
```shell
6968
sdk use java 8.0.422-tem
7069
git clone [email protected]:linghengqian/hive-server2-jdbc-driver.git
7170
cd ./hive-server2-jdbc-driver/
71+
./mvnw versions:set -DnewVersion=1.1.0
72+
./mvnw versions:commit
7273
echo "test" | gpg --clearsign
7374
./mvnw -T 1.5C -Ppublishing-via-the-central-portal -DskipTests clean deploy
75+
./mvnw versions:set -DnewVersion=1.2.0-SNAPSHOT
76+
./mvnw versions:commit
7477
```
78+
79+
Log in to https://central.sonatype.com/ and manually approve the publication.

hive-server2-jdbc-driver-thin/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>io.github.linghengqian</groupId>
88
<artifactId>hive-parent</artifactId>
9-
<version>1.1.0</version>
9+
<version>1.2.0-SNAPSHOT</version>
1010
</parent>
1111

1212
<artifactId>hive-server2-jdbc-driver-thin</artifactId>

hive-server2-jdbc-driver-uber/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>io.github.linghengqian</groupId>
88
<artifactId>hive-parent</artifactId>
9-
<version>1.1.0</version>
9+
<version>1.2.0-SNAPSHOT</version>
1010
</parent>
1111

1212
<artifactId>hive-server2-jdbc-driver-uber</artifactId>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>io.github.linghengqian</groupId>
77
<artifactId>hive-parent</artifactId>
8-
<version>1.1.0</version>
8+
<version>1.2.0-SNAPSHOT</version>
99

1010
<packaging>pom</packaging>
1111
<name>${project.groupId}:${project.artifactId}</name>

0 commit comments

Comments
 (0)