From 441ac29c7c673283ec478933a806925659f7e2b4 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 17 Jan 2021 21:21:23 -0500 Subject: [PATCH] fix: correct aws release check in release-plugin script [ci skip] --- contrib/release-plugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/release-plugin b/contrib/release-plugin index a5ae29467..7d8cf0598 100755 --- a/contrib/release-plugin +++ b/contrib/release-plugin @@ -95,7 +95,7 @@ EOF local AWS_RELEASE=true fi - if [[ "$CI" != "true" ]] && [[ -z "$DOKKU_PLUGIN_GITHUB_ACCESS_TOKEN" ]]; then + if [[ "$AWS_RELEASE" == "true" ]] && [[ -z "$DOKKU_PLUGIN_GITHUB_ACCESS_TOKEN" ]]; then log-info "You are running this without a DOKKU_PLUGIN_GITHUB_ACCESS_TOKEN environment variable." log-info "Doing so disables uploading releases to S3, which may be necessary for installing private plugins." while true; do