Skip to content

Commit

Permalink
Changes to pom and publish script.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilkywayPirate committed Jan 19, 2024
1 parent 220be9e commit 5557a40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,8 @@ jobs:
project: maven
custom-command: cd concordium-sdk && mvn javadoc:javadoc -f pom.xml # Generates javadoc from the delombok'ed code

- name: Deploy to maven central repository
run: mvn -B clean deploy -Pci-cd
- name: Publish package to central maven repository
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USR }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PWD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.SONATYPE_PKEY }}
9 changes: 3 additions & 6 deletions concordium-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -310,13 +310,10 @@
</build>

<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>9
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</distributionManagement>
</project>

0 comments on commit 5557a40

Please sign in to comment.