Skip to content

Commit

Permalink
Updates for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Dec 5, 2023
1 parent 4288b92 commit 33e1890
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/.#pass-java-release.yml
10 changes: 5 additions & 5 deletions .github/workflows/pass-java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ jobs:
- name: Release Java modules
working-directory: combined
run: |
goal="install"
goal="clean"
if curl -f -s https://oss.sonatype.org/service/local/repositories/releases/content/org/eclipse/pass/eclipse-pass-parent/$RELEASE/ > /dev/null; then
echo "Release $RELEASE already exists"
goal="install"
fi
mvn -B -U -V -ntp -P release -DstagingProgressTimeoutMinutes=10 clean install | tee release.log
mvn -B -U -V -ntp -P release -DstagingProgressTimeoutMinutes=10 clean $goal | tee release.log
code=${PIPESTATUS[0]}
marker1="Remote staging repositories are being released"
Expand Down Expand Up @@ -112,9 +112,9 @@ jobs:
echo "."
counter=$((counter+1))
if [ "$counter" -gt 20 ]; then
if [ "$counter" -gt 1 ]; then
echo "Timed out waiting for release"
exit 1
# exit 1
fi
done
echo "Artifacts for $RELEASE have been released."
Expand All @@ -129,7 +129,7 @@ jobs:
- name: Release dev Java modules
working-directory: combined
run: |
mvn -B -V -ntp clean install -DskipTests -DskipITs
mvn -B -V -ntp clean -DskipTests -DskipITs
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down

0 comments on commit 33e1890

Please sign in to comment.