fix: use correct name for packagecloud token when running CI commands

This commit is contained in:
Jose Diaz-Gonzalez
2018-12-27 04:36:32 -05:00
parent 90105e3c6a
commit fbf19daff8
5 changed files with 7 additions and 8 deletions

View File

@@ -332,7 +332,7 @@ main() {
fn-require-bin "docker"
fn-require-bin "git"
fn-require-bin "package_cloud"
[[ -n "$PACKAGECLOUD_API_TOKEN" ]] || log-fail "Missing PACKAGECLOUD_API_TOKEN environment variable"
[[ -n "$PACKAGECLOUD_TOKEN" ]] || log-fail "Missing PACKAGECLOUD_TOKEN environment variable"
CURRENT_VERSION="$(fn-version-current)"
NEXT_VERSION="$(fn-version-next "$CURRENT_VERSION" "$RELEASE")"