From 80c32bd241555ed9d720897008f1aeae4356afd9 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Thu, 24 Jan 2019 11:03:46 -0800 Subject: [PATCH] ci: abbreviate commit status per #518 --- script/notify | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/script/notify b/script/notify index 319080b9..47438cb8 100755 --- a/script/notify +++ b/script/notify @@ -22,9 +22,8 @@ version=$(jq -r .version package.json) name=$(jq -r .name package.json) # the commit status context -context="npm publish $name" +context="$name@$version" message="https://unpkg.com/$name@$version/" -echo "📡 Transmitting publish status for $context $name@$version..." -pwd -commit-status "$_status" "$context" "$name@$version" "$message" +echo "📡 Transmitting publish status for $context..." +commit-status "$_status" "$context" "publish" "$message"