From 5957cb7778b8c03fc0b480f1bedf6b43a32d29e7 Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Tue, 7 Nov 2023 19:18:54 +0000 Subject: [PATCH] Updating github-config --- scripts/.util/git.sh | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 scripts/.util/git.sh diff --git a/scripts/.util/git.sh b/scripts/.util/git.sh deleted file mode 100644 index 71965bc..0000000 --- a/scripts/.util/git.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash - -set -eu -set -o pipefail - -# shellcheck source=SCRIPTDIR/print.sh -source "$(dirname "${BASH_SOURCE[0]}")/print.sh" - -function util::git::token::fetch() { - if [[ -z "${GIT_TOKEN:-""}" ]]; then - util::print::title "Fetching GIT_TOKEN" - - GIT_TOKEN="$( - lpass show Shared-CF\ Buildpacks/concourse-private.yml \ - | grep buildpacks-github-token \ - | cut -d ' ' -f 2 - )" - fi - - printf "%s" "${GIT_TOKEN}" -}