Skip to content

Commit

Permalink
contrib: Remove CHARTS_PATH dependency
Browse files Browse the repository at this point in the history
This script would check for CHARTS_PATH and CHARTS_TOOL, but it never
actually invoked them. We've renamed the script now so it's out of date.

Signed-off-by: Joe Stringer <joe@cilium.io>
  • Loading branch information
joestringer committed May 3, 2024
1 parent 8181e0e commit 715ed4c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions contrib/release/tag-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ source $DIR/lib/common.sh
source $DIR/../backporting/common.sh

REMOTE="$(get_remote)"
CHARTS_PATH="${CHARTS_PATH:-$GOPATH/src/github.com/cilium/charts}"
CHARTS_TOOL="prepare_artifacts.sh"
RELEASES_URL="https://github.com/cilium/cilium/releases"
VERSION=""

Expand All @@ -29,11 +27,6 @@ handle_args() {
common::exit 1 "VERSION file not found. Is this directory a Cilium repository?"
fi

if [[ ! -e "$CHARTS_PATH/$CHARTS_TOOL" ]]; then
usage
common::exit 1 "CHARTS_PATH='$CHARTS_PATH' invalid. Clone from github.com/cilium/charts"
fi

if ! which hub >/dev/null; then
echo "This tool relies on 'hub' from https://github.com/github/hub ." 1>&2
common::exit 1 "Please install this tool first."
Expand Down

0 comments on commit 715ed4c

Please sign in to comment.