aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-29 15:34:01 +0800
committerkumavis <aaron@kumavis.me>2018-03-29 15:34:01 +0800
commit93c123c6f52b28b525658492ce93fbcc30fc1e7c (patch)
treed357adaf0c1d06cf17525f5f6881db855b55933f /.circleci
parent001595b2b9e0a06b3e16033143128620ead544bc (diff)
downloadtangerine-wallet-browser-93c123c6f52b28b525658492ce93fbcc30fc1e7c.tar.gz
tangerine-wallet-browser-93c123c6f52b28b525658492ce93fbcc30fc1e7c.tar.zst
tangerine-wallet-browser-93c123c6f52b28b525658492ce93fbcc30fc1e7c.zip
ci - build:announce - fix links to extension builds
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index fa694dcff..bb14d2a3a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -110,11 +110,12 @@ jobs:
CIRCLE_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}"
SHORT_SHA1=$(echo $CIRCLE_SHA1 | cut -c 1-7)
BUILD_LINK_BASE="https://$CIRCLE_BUILD_NUM-42009758-gh.circle-artifacts.com/0/builds"
+ VERSION=$(node -p 'require("./dist/chrome/manifest.json").version')
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"
+ CHROME="$BUILD_LINK_BASE/metamask-chrome-$VERSION.zip"
+ FIREFOX="$BUILD_LINK_BASE/metamask-firefox-$VERSION.zip"
+ OPERA="$BUILD_LINK_BASE/metamask-opera-$VERSION.zip"
+ EDGE="$BUILD_LINK_BASE/metamask-edge-$VERSION.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"