diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e1693ff..4a1d25e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,10 +40,7 @@ jobs: git config --local user.email "aissemble-noreply@bah.com" git config --local user.name "Github Actions" git checkout -b ${{ inputs.releaseVersion }}-release - mvn -B release:clean release:prepare release:perform -Possrh-release -DreleaseVersion=${{ inputs.releaseVersion }} -DdevelopmentVersion=${{ inputs.developmentVersion }} - mvn release:update-versions -DdevelopmentVersion=${{ inputs.developmentVersion }} - mvn clean install - mvn scm:checkin -Dmessage=":arrow_up: push example modules to version ${{ inputs.developmentVersion }}" + mvn -B release:prepare release:perform -Possrh-release -DreleaseVersion=${{ inputs.releaseVersion }} -DdevelopmentVersion=${{ inputs.developmentVersion }} env: MAVEN_USERNAME: ${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_USER }} MAVEN_PASSWORD: ${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_KEY }} diff --git a/pom.xml b/pom.xml index 1e8fecb..16eb728 100644 --- a/pom.xml +++ b/pom.xml @@ -28,11 +28,11 @@ ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots + https://oss.sonatype.org/content/repositories/snapshots ossrh - https://s01.oss.sonatype.org/content/repositories/releases/ + https://oss.sonatype.org/content/repositories/releases/ @@ -193,7 +193,7 @@ ${version.nexus.staging.plugin} ossrh - https://s01.oss.sonatype.org/ + https://oss.sonatype.org/ @@ -255,6 +255,11 @@ ossrh-release + + org.sonatype.plugins + nexus-staging-maven-plugin + true + org.apache.maven.plugins maven-source-plugin