[Android] Prepare bintray publication for CI

Geoffrey Métais git at videolan.org
Thu Feb 27 11:48:42 CET 2020


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 26 17:49:56 2020 +0100| [ef3cfa4376b3461f69699139906d3445ba822832] | committer: Geoffrey Métais

Prepare bintray publication for CI

> https://code.videolan.org/videolan/vlc-android/commit/ef3cfa4376b3461f69699139906d3445ba822832
---

 buildsystem/publish.gradle | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/buildsystem/publish.gradle b/buildsystem/publish.gradle
index 9c9cf1a89..bbe81359f 100644
--- a/buildsystem/publish.gradle
+++ b/buildsystem/publish.gradle
@@ -68,8 +68,8 @@ apply plugin: 'com.jfrog.bintray'
 Properties properties = new Properties()
 properties.load(project.rootProject.file('local.properties').newDataInputStream())
 bintray {
-    user = properties.getProperty("bintray.user")
-    key = properties.getProperty("bintray.apikey")
+    user = System.getenv('K8S_SECRET_BINTRAY_USER') ?: properties.getProperty("bintray.user")
+    key = System.getenv('K8S_SECRET_BINTRAY_KEY') ?: properties.getProperty("bintray.apikey")
     configurations = ['archives']
     pkg {
         repo = repoName
@@ -87,5 +87,5 @@ bintray {
             desc = libraryDescription
         }
     }
-//    publish = true
+    publish = true
 }



More information about the Android mailing list