Skip to content

Commit

Permalink
Rename publish profile for sonatype to central (#134)
Browse files Browse the repository at this point in the history
## Description

Rename profile to correct naming of sonatype central


## Type of Change

Please delete options that are not relevant.

* Rename maven profile

Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys authored Jul 12, 2024
1 parent 154ce30 commit 33e3e98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/push-to-nexus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export GPG_TTY=$(tty)
echo $GPG_SIGNING_KEY | base64 -d > signing.gpg
gpg --batch --import signing.gpg

GPG_EXECUTABLE=gpg ./mvnw -DskipTests -s ./.github/scripts/settings.xml -P ossrh clean deploy
GPG_EXECUTABLE=gpg ./mvnw -DskipTests -s ./.github/scripts/settings.xml -P central-sonatype clean deploy

rm -rf signing.gpg
gpg --delete-keys
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
</modules>
</profile>
<profile>
<id>ossrh</id>
<id>central-sonatype</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
Expand Down

0 comments on commit 33e3e98

Please sign in to comment.