From 422892579c19af940a187d567b54c611b32d3e9f Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Tue, 5 Feb 2019 13:56:13 -0800 Subject: [PATCH] ci: rename STATUS_CONTEXT -> PUBLISH_STATUS_CONTEXT --- .github/main.workflow | 2 +- script/postpublish | 2 +- script/prepublish | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/main.workflow b/.github/main.workflow index f12ef1df..8c5a07a3 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -36,6 +36,6 @@ action "publish" { uses = "actions/npm@master" runs = "script/publish" env = { - STATUS_CONTEXT = "npm publish primer" + PUBLISH_STATUS_CONTEXT = "npm publish primer" } } diff --git a/script/postpublish b/script/postpublish index a701f420..79fb725d 100755 --- a/script/postpublish +++ b/script/postpublish @@ -1,7 +1,7 @@ #!/bin/bash set -e -npx action-status --context="$STATUS_CONTEXT" --state=success --description="published $version" --url="https://unpkg.com/$name@$version/" +npx action-status --context="$PUBLISH_STATUS_CONTEXT" --state=success --description="published $version" --url="https://unpkg.com/$name@$version/" file=publish-files.txt if [[ -f $file ]]; then diff --git a/script/prepublish b/script/prepublish index 2960a478..4036ea12 100755 --- a/script/prepublish +++ b/script/prepublish @@ -1,6 +1,6 @@ #!/bin/bash -npx action-status --context="$STATUS_CONTEXT" --state=pending --description="publishing $version..." +npx action-status --context="$PUBLISH_STATUS_CONTEXT" --state=pending --description="publishing $version..." # generate the build directory npm run dist