Skip to content

Commit

Permalink
ci: prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Apr 12, 2024
1 parent 79d0194 commit 7387ae6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@ on:

jobs:
publish-release:
uses: sitepark/github-project-workflow/.github/workflows/maven-publish-release.yml@release/1.x
uses: sitepark/github-project-workflow/.github/workflows/maven-publish-release.yml@main
secrets:
MVN_REPO_SERVER_USERNAME: ${{ secrets.MVN_REPO_SERVER_USERNAME }}
MVN_REPO_SERVER_PASSWORD: ${{ secrets.MVN_REPO_SERVER_PASSWORD }}
MVN_REPO_SERVER_ID: ${{ secrets.MVN_REPO_SERVER_ID }}
MVN_REPO_SERVER_SNAPSHOT_URL: ${{ secrets.MVN_REPO_SERVER_SNAPSHOT_URL }}

21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<version>1.0.0-SNAPSHOT</version>
<name>IES graphfql extension api</name>
<description>API to extend the graphql functionality of the IES</description>
<url>https://github.com/sitepark/ies-graphql-extension-api</url>

<organization>
<name>Sitepark</name>
Expand Down Expand Up @@ -351,4 +352,24 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>nexus-staging-release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 7387ae6

Please sign in to comment.