hint on bintray usage added

This commit is contained in:
Klaus K Wilting 2020-08-16 13:46:37 +02:00
parent 316cd8d98c
commit 8f054ea64d
2 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,8 @@ with open(otakeyfile) as myfile:
key, value = line.partition("=")[::2] key, value = line.partition("=")[::2]
mykeys[key.strip()] = str(value).strip() mykeys[key.strip()] = str(value).strip()
# usage of bintray: see https://github.com/r0oland/bintray-secure-ota
# get bintray user credentials from ota key file # get bintray user credentials from ota key file
user = mykeys["BINTRAY_USER"] user = mykeys["BINTRAY_USER"]
repository = mykeys["BINTRAY_REPO"] repository = mykeys["BINTRAY_REPO"]

View File

@ -22,6 +22,7 @@
using namespace std; using namespace std;
const BintrayClient bintray(BINTRAY_USER, BINTRAY_REPO, BINTRAY_PACKAGE); const BintrayClient bintray(BINTRAY_USER, BINTRAY_REPO, BINTRAY_PACKAGE);
// usage of bintray: see https://github.com/r0oland/bintray-secure-ota
// Connection port (HTTPS) // Connection port (HTTPS)
const int port = 443; const int port = 443;