mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
Merge branch 'master' into biometrics
This commit is contained in:
commit
25320a87ba
2 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,8 @@ const https = require('https');
|
|||
|
||||
const auth = 'Basic ' + Buffer.from('Overtorment' + ':' + process.env.GITHUB).toString('base64');
|
||||
|
||||
const branch = require('child_process').execSync("git ls-remote --heads origin | grep $(git rev-parse HEAD) | cut -d / -f 3").toString().trim();
|
||||
|
||||
const req = https.request(
|
||||
{
|
||||
hostname: 'api.github.com',
|
||||
|
@ -21,7 +23,7 @@ const req = https.request(
|
|||
try {
|
||||
const prs = JSON.parse(data);
|
||||
for (let pr of prs) {
|
||||
if (process.env.APPCENTER_BRANCH === pr.head.ref) {
|
||||
if (branch === pr.head.ref) {
|
||||
console.log(pr.number);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo Uploading to Appetize and publishing link to Github...
|
||||
echo -n "Branch "
|
||||
git ls-remote --heads origin | grep $(git rev-parse HEAD) | cut -d / -f 3
|
||||
# git log -n 1 --pretty=%d HEAD | awk '{print $2}' | sed 's/origin\///' | sed 's/)//'
|
||||
|
||||
FILENAME="$APPCENTER_OUTPUT_DIRECTORY/app-release.apk"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue