diff --git a/go.mod b/go.mod index 3183b7f2..63025ce3 100644 --- a/go.mod +++ b/go.mod @@ -5,8 +5,8 @@ go 1.21 require ( github.com/spf13/cobra v1.7.0 gotest.tools/v3 v3.3.0 - knative.dev/client-pkg v0.0.0-20240111015105-b261efbe56e4 - knative.dev/hack v0.0.0-20240111013919-e89096d74d85 + knative.dev/client-pkg v0.0.0-20240124090003-67fca0ca8681 + knative.dev/hack v0.0.0-20240123162936-f3f03ac0ab1a ) diff --git a/go.sum b/go.sum index a768b739..63311fa2 100644 --- a/go.sum +++ b/go.sum @@ -37,7 +37,7 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools/v3 v3.3.0 h1:MfDY1b1/0xN1CyMlQDac0ziEy9zJQd9CXBRRDHw2jJo= gotest.tools/v3 v3.3.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A= -knative.dev/client-pkg v0.0.0-20240111015105-b261efbe56e4 h1:I/x5xZjhbHBrsKdR6JYk3EToiC0ujq1/TEayVnpkxMM= -knative.dev/client-pkg v0.0.0-20240111015105-b261efbe56e4/go.mod h1:CRV2oyVAnLXcAoFWLzazqdO3+908E7qENNQUuJDNd3k= -knative.dev/hack v0.0.0-20240111013919-e89096d74d85 h1:ERgPObDcW9LfaEPAeFvbW3UJcF3C3ul6B2ErNMv13OE= -knative.dev/hack v0.0.0-20240111013919-e89096d74d85/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= +knative.dev/client-pkg v0.0.0-20240124090003-67fca0ca8681 h1:vlXHcYG/rayUB1MGUAnpu5eLzMKuqEQS2Q5m7Z9WyKs= +knative.dev/client-pkg v0.0.0-20240124090003-67fca0ca8681/go.mod h1:3+IED1Q8eP1BwUq0cTxyznhTVrROzkGZcJ68X6KS8NA= +knative.dev/hack v0.0.0-20240123162936-f3f03ac0ab1a h1:+4Mdk0Lt3LGAVEI6vYyhfjBlVBx7sqS4wECtTkuXoSY= +knative.dev/hack v0.0.0-20240123162936-f3f03ac0ab1a/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= diff --git a/vendor/knative.dev/hack/release.sh b/vendor/knative.dev/hack/release.sh index 256ae40d..cbc20f69 100644 --- a/vendor/knative.dev/hack/release.sh +++ b/vendor/knative.dev/hack/release.sh @@ -675,8 +675,8 @@ function set_latest_to_highest_semver() { abort "cannot get relase id from github" fi - hub_tool api --method PATCH "/repos/knative/serving/releases/$release_id" \ - -F make_latest=true > /dev/null || abort "error settomg $last_version to 'latest'" + hub_tool api --method PATCH "/repos/${ORG_NAME}/${REPO_NAME}/releases/$release_id" \ + -F make_latest=true > /dev/null || abort "error setting $last_version to 'latest'" echo "Github release ${last_version} set as 'latest'" } diff --git a/vendor/modules.txt b/vendor/modules.txt index c2ad2f17..9d9be7eb 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -22,9 +22,9 @@ gotest.tools/v3/internal/assert gotest.tools/v3/internal/difflib gotest.tools/v3/internal/format gotest.tools/v3/internal/source -# knative.dev/client-pkg v0.0.0-20240111015105-b261efbe56e4 +# knative.dev/client-pkg v0.0.0-20240124090003-67fca0ca8681 ## explicit; go 1.21 knative.dev/client-pkg/pkg/kn/plugin -# knative.dev/hack v0.0.0-20240111013919-e89096d74d85 +# knative.dev/hack v0.0.0-20240123162936-f3f03ac0ab1a ## explicit; go 1.18 knative.dev/hack