diff --git a/go.mod b/go.mod index 215ddeadd..42c3d2ea8 100644 --- a/go.mod +++ b/go.mod @@ -14,10 +14,10 @@ require ( k8s.io/api v0.27.6 k8s.io/apimachinery v0.27.6 k8s.io/client-go v0.27.6 - knative.dev/eventing v0.39.1-0.20231103063133-d978f3c993fd - knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63 - knative.dev/pkg v0.0.0-20231106073528-acf0a2d2dea9 - knative.dev/serving v0.39.1-0.20231106011704-789c322ca551 + knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76 + knative.dev/hack v0.0.0-20231107173840-883479423aaa + knative.dev/pkg v0.0.0-20231108014432-35011d423d4b + knative.dev/serving v0.39.1-0.20231108110632-65ce2aece44a ) require ( @@ -103,7 +103,7 @@ require ( k8s.io/klog/v2 v2.90.1 // indirect k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect - knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab // indirect + knative.dev/networking v0.0.0-20231103063604-18529fd26a8b // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.4.0 // indirect diff --git a/go.sum b/go.sum index cc538a1a2..2bd5e4c86 100644 --- a/go.sum +++ b/go.sum @@ -718,16 +718,16 @@ k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5F k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY= k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/eventing v0.39.1-0.20231103063133-d978f3c993fd h1:TqqEeyk73nRY4excMiV3+gt8v9+0eWFnG6B7jzD3Ma4= -knative.dev/eventing v0.39.1-0.20231103063133-d978f3c993fd/go.mod h1:CR1AGu7mtm9w3JdRpdrolMmoYtOeP4vb0jPUMOi0r6U= -knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63 h1:QNbIbsep8jreNCXj3EFrsw0RtsrmMZw7yxYyUG5AILs= -knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= -knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab h1:nc74ZRbybCGuRh0PmNwQOi/YQn+BFxsvWFYdBKmXeDs= -knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab/go.mod h1:ogTL4b/TmCRVhbKxRO7Z+9g/Mzsxo4LKXlCkw8CY0qA= -knative.dev/pkg v0.0.0-20231106073528-acf0a2d2dea9 h1:9JQb0ETlOXxtXb6zeJuvjcdsI5BQ83Rv1PEzIzC8B8U= -knative.dev/pkg v0.0.0-20231106073528-acf0a2d2dea9/go.mod h1:jCNm6Y66ArM8uDqpHwRwW7LuMFn79Q3KIn5L1R/WfI4= -knative.dev/serving v0.39.1-0.20231106011704-789c322ca551 h1:LRrzg40NxDqN6R1/i7T4G7R3fbhH3foJjpwz1Dx0pJY= -knative.dev/serving v0.39.1-0.20231106011704-789c322ca551/go.mod h1:OwgMhUqz/RICNYvaIRmzVFQN6isQFOEFPPr3Fypn05Q= +knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76 h1:8BWkTOnmW8U0wNqLFU9AGgymnuhf0b4lcxKC/+UL1g0= +knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76/go.mod h1:i6R6Yif89VlVaNd4xyAqpZqryBDVv/j/ZFeMzHdgHxI= +knative.dev/hack v0.0.0-20231107173840-883479423aaa h1:XVFqW2a8xvyo231TbVSD3i+580pVej9LbTSmYex6d1g= +knative.dev/hack v0.0.0-20231107173840-883479423aaa/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= +knative.dev/networking v0.0.0-20231103063604-18529fd26a8b h1:bimYPtsVmXBGjA0dARsoyNFKtREIVceVScnKdsHmqjo= +knative.dev/networking v0.0.0-20231103063604-18529fd26a8b/go.mod h1:XKuKrS5QCQ3LkPeOYBZqyUxseBIBLpujxttejIBjoCk= +knative.dev/pkg v0.0.0-20231108014432-35011d423d4b h1:WrDo9M6vkJ4xnTBodWOT2koXjKqr7dOqJH4RWBq4kBw= +knative.dev/pkg v0.0.0-20231108014432-35011d423d4b/go.mod h1:zkycL49skv31nWKvT1XAsSMFO6mUu33Qhpv0xDvdVGY= +knative.dev/serving v0.39.1-0.20231108110632-65ce2aece44a h1:225vpBrQIDQxlRv+VQU8kK/UxD8v/zRJEpGeN+t+dvc= +knative.dev/serving v0.39.1-0.20231108110632-65ce2aece44a/go.mod h1:xO2/gBMQC6zNmluxIZvIIllwCXjjy8Exa9E501uXg3s= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/vendor/knative.dev/hack/release.sh b/vendor/knative.dev/hack/release.sh index e6e386bba..68e75e9ca 100644 --- a/vendor/knative.dev/hack/release.sh +++ b/vendor/knative.dev/hack/release.sh @@ -652,6 +652,7 @@ function publish_artifacts() { fi [[ -n "${RELEASE_GCS_BUCKET}" ]] && publish_to_gcs "${ARTIFACTS_TO_PUBLISH}" publish_to_github "${ARTIFACTS_TO_PUBLISH}" + set_latest_to_highest_semver banner "New release published successfully" } @@ -664,12 +665,13 @@ function set_latest_to_highest_semver() { fi local release_id # don't combine with the line below, or $? will be 0 - release_id="$(hub_tool api /repos/${ORG_NAME}/${REPO_NAME}/releases/tags/knative-${last_version} | jq .id)" + release_id="$(hub_tool api "/repos/${ORG_NAME}/${REPO_NAME}/releases/tags/knative-${last_version}" | jq .id)" if [[ $? -ne 0 ]]; then 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/knative/serving/releases/$release_id" \ + -F make_latest=true > /dev/null || abort "error settomg $last_version to 'latest'" echo "Github release ${last_version} set as 'latest'" } @@ -745,7 +747,6 @@ function main() { done echo "New release built successfully" publish_artifacts - set_latest_to_highest_semver } # Publishes a new release on GitHub, also git tagging it (unless this is not a versioned release). diff --git a/vendor/modules.txt b/vendor/modules.txt index bd69a5f92..57cc7fd0c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -967,7 +967,7 @@ k8s.io/utils/net k8s.io/utils/pointer k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/eventing v0.39.1-0.20231103063133-d978f3c993fd +# knative.dev/eventing v0.39.1-0.20231108081932-e3b797031d76 ## explicit; go 1.19 knative.dev/eventing/pkg/adapter/v2 knative.dev/eventing/pkg/adapter/v2/test @@ -1014,15 +1014,15 @@ knative.dev/eventing/pkg/metrics knative.dev/eventing/pkg/metrics/source knative.dev/eventing/pkg/observability knative.dev/eventing/pkg/observability/client -# knative.dev/hack v0.0.0-20231102183416-0d99b7ee9d63 +# knative.dev/hack v0.0.0-20231107173840-883479423aaa ## explicit; go 1.18 knative.dev/hack -# knative.dev/networking v0.0.0-20231102061026-3bd0f7d578ab +# knative.dev/networking v0.0.0-20231103063604-18529fd26a8b ## explicit; go 1.18 knative.dev/networking/pkg/apis/networking knative.dev/networking/pkg/apis/networking/v1alpha1 knative.dev/networking/pkg/config -# knative.dev/pkg v0.0.0-20231106073528-acf0a2d2dea9 +# knative.dev/pkg v0.0.0-20231108014432-35011d423d4b ## explicit; go 1.18 knative.dev/pkg/apis knative.dev/pkg/apis/duck @@ -1086,7 +1086,7 @@ knative.dev/pkg/webhook/psbinding knative.dev/pkg/webhook/resourcesemantics knative.dev/pkg/webhook/resourcesemantics/defaulting knative.dev/pkg/webhook/resourcesemantics/validation -# knative.dev/serving v0.39.1-0.20231106011704-789c322ca551 +# knative.dev/serving v0.39.1-0.20231108110632-65ce2aece44a ## explicit; go 1.18 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1