Skip to content

Commit

Permalink
Comment out commands for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Dec 12, 2023
1 parent 0c197b9 commit da7b890
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/actions/maven-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
goal="install"
fi
mvn -B -U -V -ntp -P release -DstagingProgressTimeoutMinutes=15 clean $goal | tee release.log
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"
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/pass-java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Release dev Java modules
working-directory: combined
run: |
mvn -B -V -ntp clean deploy -DskipTests -DskipITs
echo mvn -B -V -ntp clean deploy -DskipTests -DskipITs
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand All @@ -101,27 +101,27 @@ jobs:

- name: Push Docker image to GHCR
run: |
docker push ghcr.io/eclipse-pass/pass-core-main:$RELEASE
docker push ghcr.io/eclipse-pass/pass-core-main:$NEXT
docker push ghcr.io/eclipse-pass/deposit-services-core:$RELEASE
docker push ghcr.io/eclipse-pass/deposit-services-core:$NEXT
docker push ghcr.io/eclipse-pass/pass-notification-service:$RELEASE
docker push ghcr.io/eclipse-pass/pass-notification-service:$NEXT
docker push ghcr.io/eclipse-pass/jhu-grant-loader:$RELEASE
docker push ghcr.io/eclipse-pass/jhu-grant-loader:$NEXT
docker push ghcr.io/eclipse-pass/pass-journal-loader:$RELEASE
docker push ghcr.io/eclipse-pass/pass-journal-loader:$NEXT
docker push ghcr.io/eclipse-pass/pass-nihms-loader:$RELEASE
docker push ghcr.io/eclipse-pass/pass-nihms-loader:$NEXT
# docker push ghcr.io/eclipse-pass/pass-core-main:$RELEASE
# docker push ghcr.io/eclipse-pass/pass-core-main:$NEXT
# docker push ghcr.io/eclipse-pass/deposit-services-core:$RELEASE
# docker push ghcr.io/eclipse-pass/deposit-services-core:$NEXT
# docker push ghcr.io/eclipse-pass/pass-notification-service:$RELEASE
# docker push ghcr.io/eclipse-pass/pass-notification-service:$NEXT
# docker push ghcr.io/eclipse-pass/jhu-grant-loader:$RELEASE
# docker push ghcr.io/eclipse-pass/jhu-grant-loader:$NEXT
# docker push ghcr.io/eclipse-pass/pass-journal-loader:$RELEASE
# docker push ghcr.io/eclipse-pass/pass-journal-loader:$NEXT
# docker push ghcr.io/eclipse-pass/pass-nihms-loader:$RELEASE
# docker push ghcr.io/eclipse-pass/pass-nihms-loader:$NEXT
- name: Push the commits and tags
run: |
(cd main && git push origin && git push origin --tags)
(cd pass-core && git push origin && git push origin --tags)
(cd pass-core && git push origin && git push origin --tags)
# (cd main && git push origin && git push origin --tags)
# (cd pass-core && git push origin && git push origin --tags)
# (cd pass-core && git push origin && git push origin --tags)
- name: Create GitHub releases
run: |
gh release create "$RELEASE" --repo="eclipse-pass/main" --generate-notes
gh release create "$RELEASE" --repo="eclipse-pass/pass-core" --generate-notes
gh release create "$RELEASE" --repo="eclipse-pass/pass-support" --generate-notes
# gh release create "$RELEASE" --repo=eclipse-pass/main --generate-notes
# gh release create "$RELEASE" --repo=eclipse-pass/pass-core --generate-notes
# gh release create "$RELEASE" --repo=eclipse-pass/pass-support --generate-notes
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,22 @@ jobs:
- name: Set the next dev version and commit the change
run: |
mvn versions:set -B -ntp -DnewVersion=$NEXT
git commit -am "Update version to $NEXT"
echo git commit -am "Update version to $NEXT"
- name: Release dev Java modules
working-directory: combined
run: |
mvn -B -V -ntp clean deploy -DskipTests -DskipITs
echo mvn -B -V -ntp clean deploy -DskipTests -DskipITs
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Push the commits and tags
run: |
git push origin
git push origin --tags
echo git push origin
echo git push origin --tags
- name: Create GitHub release
run: |
gh release create "$RELEASE" --generate-notes
echo gh release create "$RELEASE" --generate-notes
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Publish SNAPSHOT
run: mvn -B -ntp clean deploy
run: echo mvn -B -ntp clean deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down

0 comments on commit da7b890

Please sign in to comment.