Skip to content

Commit

Permalink
Update maven-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hupling authored Aug 16, 2024
1 parent 38e6f53 commit 92814d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
MVN_ARTIFACT_ID=$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.artifactId -q -DforceStdout)
echo $MVN_ARTIFACT_ID
echo "MVN_ARTIFACT_ID=$MVN_ARTIFACT_ID" >> $GITHUB_OUTPUT
mvn release:prepare -B -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }}
mvn release:perform -Darguments="-Dmaven.deploy.skip=true"
mvn release:prepare -B -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} release:perform
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 92814d8

Please sign in to comment.