mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 05:12:47 +01:00
OPS: appcenter builds fix
This commit is contained in:
parent
e9c7a9f02d
commit
d5fd3295dd
@ -20,5 +20,5 @@ if [ -f $FILENAME ]; then
|
||||
|
||||
DLOAD_APK="https://lambda-download-android-build.herokuapp.com/download/$BUILD_BUILDID"
|
||||
|
||||
curl -X POST --data "{\"body\":\"♫ This was a triumph. I'm making a note here: HUGE SUCCESS ♫\n\n [android in browser] $APPURL\n\n[download apk]($DLOAD_APK) \"}" -u "$GITHUB" "https://api.github.com/repos/BlueWallet/BlueWallet/issues/$PR/comments"
|
||||
curl -X POST --data "{\"body\":\"♫ This was a triumph. I'm making a note here: HUGE SUCCESS ♫\n\n [android in browser] $APPURL\n\n[download apk]($DLOAD_APK) \"}" -H "Authorization: Bearer $GITHUB" "https://api.github.com/repos/BlueWallet/BlueWallet/issues/$PR/comments"
|
||||
fi
|
||||
|
@ -1,7 +1,5 @@
|
||||
const https = require('https');
|
||||
|
||||
const auth = 'Basic ' + Buffer.from(process.env.GITHUB).toString('base64');
|
||||
|
||||
const gitCommand = "git log -n 1 --pretty=%d HEAD | awk '{print $2}' | sed 's/origin\\///' | sed 's/)//'";
|
||||
const branch = require('child_process').execSync(gitCommand).toString().trim();
|
||||
|
||||
@ -13,7 +11,7 @@ const req = https.request(
|
||||
port: 443,
|
||||
path: '/repos/BlueWallet/BlueWallet/pulls',
|
||||
method: 'GET',
|
||||
headers: { 'User-Agent': 'BlueWallet bot', Authorization: auth },
|
||||
headers: { 'User-Agent': 'BlueWallet bot' },
|
||||
},
|
||||
resp => {
|
||||
let data = '';
|
||||
|
Loading…
Reference in New Issue
Block a user