Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

25 lines
690 B

// https://devcenter.bitrise.io/builds/available-environment-variables/#exposed-by-bitriseio
module.exports = {
detect({env}) {
return Boolean(env.BITRISE_IO);
},
configuration({env}) {
const pr = env.BITRISE_PULL_REQUEST === 'false' ? undefined : env.BITRISE_PULL_REQUEST;
const isPr = Boolean(pr);
return {
name: 'Bitrise',
service: 'bitrise',
commit: env.BITRISE_GIT_COMMIT,
tag: env.BITRISE_GIT_TAG,
build: env.BITRISE_BUILD_NUMBER,
buildUrl: env.BITRISE_BUILD_URL,
branch: isPr ? env.BITRISEIO_GIT_BRANCH_DEST : env.BITRISE_GIT_BRANCH,
pr,
isPr,
prBranch: isPr ? env.BITRISE_GIT_BRANCH : undefined,
slug: env.BITRISE_APP_SLUG,
};
},
};