Skip to content

Commit

Permalink
Update release process and add central publishing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Pavlov authored and Konstantin Pavlov committed Nov 8, 2024
1 parent a2b7071 commit 85a62d7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 1 addition & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
```shell
mvn release:prepare \
-Dresume=false \
-DpushChanges=false \
-DprojectVersionPolicyId=SemVerVersionPolicy
-DpushChanges=false
```

3. Perform the release
Expand Down
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>true</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<tagNameFormat>v@{project.version}</tagNameFormat>
<projectVersionPolicyId>SemVerVersionPolicy</projectVersionPolicyId>
<goals>deploy</goals>
</configuration>
</plugin>
Expand Down Expand Up @@ -291,6 +293,15 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.6.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 85a62d7

Please sign in to comment.