Skip to content

Commit

Permalink
updating the jar copy
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Jun 1, 2022
1 parent 249e79a commit bcda5de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ jobs:

- name: Print Output Dir
run: |
ls -al
ls -al build
ls -al build/libs/
mv "build/libs/mujoco-java-${{ steps.version.outputs.version }}.jar" mujoco-java.jar
- name: Make gitHub release
uses: actions/create-release@v1
id: create_release
Expand Down
6 changes: 5 additions & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ gpg1 --list-secret-keys --keyid-format LONG
ls -al $HOME/.gnupg/

./gradlew publish -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg -Psigning.password=$OSSRH_GPG_SECRET_KEY_PASSWORD -Psigning.keyId=$OSSRH_GPG_SECRET_KEY_ID
./gradlew closeAndReleaseRepository -PnexusUsername=$MAVEN_USERNAME -PnexusPassword=$MAVEN_PASSWORD
# copy the jar up for release
cp build/libs/mujoco-java-$VERSION_SEMVER.jar mujoco-java.jar
# close and release Sonatype
./gradlew closeAndReleaseRepository -PnexusUsername=$MAVEN_USERNAME -PnexusPassword=$MAVEN_PASSWORD

0 comments on commit bcda5de

Please sign in to comment.