Skip to content

Commit

Permalink
Fixed sonatype publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
LachlanMcKee committed Aug 28, 2022
1 parent 98f114e commit 26af8f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sed -i -e "s,signing.keyId=,signing.keyId=$GPG_KEY_ID,g" gradle.properties
sed -i -e "s,signing.password=,signing.password=$GPG_PASSWORD,g" gradle.properties
sed -i -e "s,signing.secretKeyRingFile=,signing.secretKeyRingFile=$GITHUB_WORKSPACE/release.gpg,g" gradle.properties
./gradlew publish
./gradlew publish --no-daemon --no-parallel
env:
GPG_KEY_ARMOR: "${{ secrets.GPG_KEY_ARMOR }}"
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=lachlanmckee
POM_DEVELOPER_NAME=Lachlan McKee

SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true

signing.keyId=
signing.password=
signing.secretKeyRingFile=
Expand Down

0 comments on commit 26af8f6

Please sign in to comment.