From 4288b92f4eadb98ae27d418cb21e9505356cee42 Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Tue, 5 Dec 2023 10:26:59 -0500 Subject: [PATCH] Fix indentation --- .github/workflows/pass-java-release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pass-java-release.yml b/.github/workflows/pass-java-release.yml index edc63d32..86e45819 100644 --- a/.github/workflows/pass-java-release.yml +++ b/.github/workflows/pass-java-release.yml @@ -89,19 +89,19 @@ jobs: 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." - else - exit "$code" - fi - fi + 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." + else + exit "$code" + fi + fi env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - - name: Wait for Sonatype artifacts + - name: Wait for Sonatype artifacts run: | echo "Waiting for artifacts of $RELEASE to be released."