Skip to content

Commit

Permalink
Update publish.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
torresc24 authored Dec 15, 2021
1 parent a69d947 commit fe782bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ afterEvaluate {
artifact androidJavadocsJar

pom {
println(System.getenv('SIGN_KEY'))
if (System.getenv('SIGN_KEY') != null){
if (System.getenv('OSSRH_USERNAME') != null){
signing {
sign publishing.publications.release
sign configurations.archives
Expand Down

0 comments on commit fe782bc

Please sign in to comment.