Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
anidotnet committed Jan 5, 2024
2 parents f9a8f49 + 0e5a0cb commit 0424988
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 44 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ jobs:
PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }}

- name: Deploy Release
if: "!contains(github.event.head_commit.message, '[ci release]')"
run: mvn -B -ff -ntp release:clean release:prepare release:perform -DskipTests
run: mvn -B -ff -ntp deploy -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Release 4.2.0 - Jan 4, 2024
## Release 4.2.0 - Jan 5, 2024

### New Changes

Expand Down
4 changes: 2 additions & 2 deletions nitrite-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<artifactId>nitrite-bom</artifactId>
Expand Down Expand Up @@ -72,7 +72,7 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down
10 changes: 5 additions & 5 deletions nitrite-jackson-mapper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<artifactId>nitrite-jackson-mapper</artifactId>
Expand Down Expand Up @@ -128,12 +128,12 @@
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down
4 changes: 2 additions & 2 deletions nitrite-mvstore-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<artifactId>nitrite-mvstore-adapter</artifactId>
Expand Down Expand Up @@ -171,7 +171,7 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down
4 changes: 2 additions & 2 deletions nitrite-rocksdb-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<artifactId>nitrite-rocksdb-adapter</artifactId>
Expand Down Expand Up @@ -169,7 +169,7 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down
4 changes: 2 additions & 2 deletions nitrite-spatial/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<artifactId>nitrite-spatial</artifactId>
Expand Down Expand Up @@ -104,7 +104,7 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down
4 changes: 2 additions & 2 deletions nitrite-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<artifactId>nitrite-support</artifactId>
Expand Down Expand Up @@ -112,7 +112,7 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down
10 changes: 5 additions & 5 deletions nitrite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<artifactId>nitrite</artifactId>
Expand Down Expand Up @@ -202,12 +202,12 @@
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down
23 changes: 4 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
<packaging>pom</packaging>

<name>Nitrite Database</name>
Expand Down Expand Up @@ -87,7 +87,6 @@
<dokka.version>1.9.10</dokka.version>
<animal-sniffer.version>1.23</animal-sniffer.version>
<api-level-24.version>7.0_r2</api-level-24.version>
<maven-release-plugin.version>3.0.1</maven-release-plugin.version>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
</properties>
Expand Down Expand Up @@ -493,28 +492,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
<scmCommentPrefix>[ci release]</scmCommentPrefix>
<autoVersionSubmodules>true</autoVersionSubmodules>
<releaseProfiles>release</releaseProfiles>
<pushChanges>true</pushChanges>
<developmentVersion>${project.version}</developmentVersion>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
Expand All @@ -526,13 +511,13 @@
<!-- Repository for snapshots -->
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<!-- Repository for releases -->
<repository>
<id>ossrh</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

Expand Down
4 changes: 2 additions & 2 deletions potassium-nitrite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<artifactId>potassium-nitrite</artifactId>
Expand Down Expand Up @@ -145,7 +145,7 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down

0 comments on commit 0424988

Please sign in to comment.