Skip to content

Commit

Permalink
remove useless logs
Browse files Browse the repository at this point in the history
  • Loading branch information
RoRoche committed May 4, 2020
1 parent f559ee0 commit 39b5804
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
12 changes: 5 additions & 7 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
#echo $GPG_KEY_CONTENTS | base64 -d > /secret.gpg
./gradlew -PnewVersion=0.0.4 eoandroidconcurrency:clean
./gradlew -PnewVersion=0.0.4 eoandroidconcurrency:assemble
./gradlew -PnewVersion=0.0.4 eoandroidconcurrency:publishReleasePublicationToSonatypeRepository
#./gradlew closeAndReleaseRepository
#./gradlew eoandroidworkmanager:clean
#./gradlew eoandroidworkmanager:assemble
#./gradlew eoandroidworkmanager:publishReleasePublicationToSonatypeRepository
./gradlew -PnewVersion=0.0.4 eoandroidconcurrency:publish eoandroidconcurrency:closeAndReleaseRepository
#./gradlew -PnewVersion=0.0.4 eoandroidworkmanager:clean
#./gradlew -PnewVersion=0.0.4 eoandroidworkmanager:assemble
#./gradlew -PnewVersion=0.0.4 eoandroidworkmanager:publish eoandroidworkmanager:closeAndReleaseRepository
./gradlew -PnewVersion=0.0.4 eorest:clean
./gradlew -PnewVersion=0.0.4 eorest:jar
./gradlew -PnewVersion=0.0.4 eorest:publishReleasePublicationToSonatypeRepository
./gradlew publish closeAndReleaseRepository
./gradlew -PnewVersion=0.0.4 eorest:publish eorest:closeAndReleaseRepository
8 changes: 2 additions & 6 deletions publish/publish_android_library.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,14 @@ ext["ossrhUsername"] = ''
ext["ossrhPassword"] = ''
ext["ossStagingProfileId"] = ''

File secretPropsFile = project.rootProject.file('local.properties')
final File secretPropsFile = project.rootProject.file('local.properties')
if (secretPropsFile.exists()) {
println "Found secret props file, loading props"
Properties p = new Properties()
final Properties p = new Properties()
p.load(new FileInputStream(secretPropsFile))
p.each { name, value ->
ext[name] = value
}
} else {
println "No props file, loading env vars"
ext["signing.keyId"] = System.getenv('SIGNING_KEY_ID')
ext["signing.password"] = System.getenv('SIGNING_PASSWORD')
ext["signing.secretKeyRingFile"] = System.getenv('SIGNING_SECRET_KEY_RING_FILE')
Expand All @@ -64,8 +62,6 @@ if (project.hasProperty('newVersion')) {
project.version = '0.0.1'
}

println "Publishing ${project.getName()} with version " + project.version

publishing {
publications {
release(MavenPublication) {
Expand Down
8 changes: 2 additions & 6 deletions publish/publish_kotlin_library.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,14 @@ ext["ossrhUsername"] = ''
ext["ossrhPassword"] = ''
ext["ossStagingProfileId"] = ''

File secretPropsFile = project.rootProject.file('local.properties')
final File secretPropsFile = project.rootProject.file('local.properties')
if (secretPropsFile.exists()) {
println "Found secret props file, loading props"
Properties p = new Properties()
final Properties p = new Properties()
p.load(new FileInputStream(secretPropsFile))
p.each { name, value ->
ext[name] = value
}
} else {
println "No props file, loading env vars"
ext["signing.keyId"] = System.getenv('SIGNING_KEY_ID')
ext["signing.password"] = System.getenv('SIGNING_PASSWORD')
ext["signing.secretKeyRingFile"] = System.getenv('SIGNING_SECRET_KEY_RING_FILE')
Expand All @@ -64,8 +62,6 @@ if (project.hasProperty('newVersion')) {
project.version = '0.0.1'
}

println "Publishing ${project.getName()} with version " + project.version

publishing {
publications {
release(MavenPublication) {
Expand Down

0 comments on commit 39b5804

Please sign in to comment.