Skip to content

Commit

Permalink
For testing
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Dec 12, 2023
1 parent 9f45e6a commit ff3e276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/maven-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ runs:
echo "Release $RELEASE already exists"
goal="install"
fi
set | grep MAVEN
echo mvn -B -U -V -ntp -P release -DstagingProgressTimeoutMinutes=15 clean $goal | tee release.log
code=${PIPESTATUS[0]}
marker1="Remote staging repositories are being released"
marker2="Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin"
if [ "$code" -ne "0" ]; then
if grep -q "$marker1" release.log && grep -q "$marker2" release.log; then
echo "Failed cleaning up after pushing to Sonatype, but it may have succeeded anyway."
Expand Down

0 comments on commit ff3e276

Please sign in to comment.