Skip to content

Commit

Permalink
Setup release with sonatype central
Browse files Browse the repository at this point in the history
  • Loading branch information
jfisbein committed Sep 20, 2024
1 parent 8453a02 commit d51956d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>java-rate-limit</artifactId>
<version>1.6.2</version>
<version>1.6.5</version>
<groupId>net.saltando</groupId>
<name>java-rate-limit</name>
<description>Java library to help to implement rate limits.</description>
Expand Down Expand Up @@ -334,14 +334,14 @@
</profile>
</profiles>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
<!-- <distributionManagement>-->
<!-- <snapshotRepository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
<!-- </snapshotRepository>-->
<!-- <repository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>-->
<!-- </repository>-->
<!-- </distributionManagement>-->
</project>
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

#git pull
./mvnw versions:set -DnewVersion="${VERSION}" -DgenerateBackupPoms=false
./mvnw clean deploy --batch-mode
./mvnw clean test --batch-mode
git checkout .
git tag "${VERSION}"
git push --tags

0 comments on commit d51956d

Please sign in to comment.