aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-29 15:17:14 +0800
committerkumavis <aaron@kumavis.me>2018-03-29 15:17:14 +0800
commitec608cb1b0bca09ddeb33f6c54146b3ab90925a8 (patch)
tree6d7d758cce174c6cfe357d892df1f0f4119ef7b8 /.circleci
parent93ac72801afb318c6003e4d8ff2f22af06356ac8 (diff)
downloadtangerine-wallet-browser-ec608cb1b0bca09ddeb33f6c54146b3ab90925a8.tar
tangerine-wallet-browser-ec608cb1b0bca09ddeb33f6c54146b3ab90925a8.tar.gz
tangerine-wallet-browser-ec608cb1b0bca09ddeb33f6c54146b3ab90925a8.tar.bz2
tangerine-wallet-browser-ec608cb1b0bca09ddeb33f6c54146b3ab90925a8.tar.lz
tangerine-wallet-browser-ec608cb1b0bca09ddeb33f6c54146b3ab90925a8.tar.xz
tangerine-wallet-browser-ec608cb1b0bca09ddeb33f6c54146b3ab90925a8.tar.zst
tangerine-wallet-browser-ec608cb1b0bca09ddeb33f6c54146b3ab90925a8.zip
ci - build:announce - link all builds
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 0173b8b3d..5e84fb783 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -109,8 +109,15 @@ jobs:
command: |
CIRCLE_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}"
SHORT_SHA1=$(echo $CIRCLE_SHA1 | cut -c 1-7)
- QA_BUILD_URL="https://$CIRCLE_BUILD_NUM-42009758-gh.circle-artifacts.com/0/builds/mascara/home.html"
- COMMENT_BODY="[Try QA Build for $SHORT_SHA1]($QA_BUILD_URL)"
+ BUILD_LINK_BASE="https://$CIRCLE_BUILD_NUM-42009758-gh.circle-artifacts.com/0/builds"
+ MASCARA="BUILD_LINK_BASE/mascara/home.html"
+ CHROME="BUILD_LINK_BASE/chrome.zip"
+ FIREFOX="BUILD_LINK_BASE/firefox.zip"
+ OPERA="BUILD_LINK_BASE/opera.zip"
+ EDGE="BUILD_LINK_BASE/edge.zip"
+ COMMENT_MAIN="Builds ready [$SHORT_SHA1]: [mascara][mascara], [chrome][chrome], [firefox][firefox], [edge][edge], [opera][opera]"
+ COMMENT_LINKS="[mascara]:$MASCARA\n[chrome]:$CHROME\n[firefox]:$FIREFOX\n[opera]:$OPERA\n[edge]:$EDGE\n"
+ COMMENT_BODY="$COMMENT_MAIN\n\n$COMMENT_LINKS"
JSON_PAYLOAD="{\"body\":\"$COMMENT_BODY\"}"
POST_COMMENT_URI="https://api.github.com/repos/metamask/metamask-extension/issues/$CIRCLE_PR_NUMBER/comments"
echo "Announcement:\n$COMMENT_BODY"