upgrade to latest dependencies (#4482)

bumping knative.dev/hack 96aac1c...813559c:
  > 813559c [pre-1.0] Use the TAG unmodified when publishing dot releases (# 119)
  > 9f34905 Update community files (# 118)
  > 69a2295 Update community files (# 117)
  > 128cf01 Allows to see tag from build_release func (# 104)
  > e1db8b2 chore: further explain knative CRD-generation support (# 105)

Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
knative-automation 2021-11-23 08:31:51 -08:00 committed by GitHub
parent e802f6830e
commit 49652deb2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 13 deletions

2
go.mod
View File

@ -30,7 +30,7 @@ require (
gopkg.in/go-playground/webhooks.v3 v3.13.0
gopkg.in/yaml.v2 v2.3.0
honnef.co/go/tools v0.0.1-2020.1.5 // indirect
knative.dev/hack v0.0.0-20211108170701-96aac1c30be3
knative.dev/hack v0.0.0-20211122162614-813559cefdda
)
replace go.opencensus.io => go.opencensus.io v0.20.2

4
go.sum
View File

@ -542,8 +542,8 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
honnef.co/go/tools v0.0.1-2020.1.5 h1:nI5egYTGJakVyOryqLs1cQO5dO0ksin5XXs2pspk75k=
honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
knative.dev/hack v0.0.0-20211108170701-96aac1c30be3 h1:oSvRgnKoU308k7aXbPV3iL5Zh5kBGM2Ptar4hyeda+A=
knative.dev/hack v0.0.0-20211108170701-96aac1c30be3/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/hack v0.0.0-20211122162614-813559cefdda h1:WBfGcmu5pN+RCxDotKVYtWlJVI2V4Hvah+XD9mcSR/o=
knative.dev/hack v0.0.0-20211122162614-813559cefdda/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
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=

View File

@ -6,9 +6,9 @@ import "errors"
type Encoding int
const (
// Binary encoding as specified in https://github.com/cloudevents/spec/blob/v1.0.1/spec.md#message
// Binary encoding as specified in https://github.com/cloudevents/spec/blob/master/spec.md#message
EncodingBinary Encoding = iota
// Structured encoding as specified in https://github.com/cloudevents/spec/blob/v1.0.1/spec.md#message
// Structured encoding as specified in https://github.com/cloudevents/spec/blob/master/spec.md#message
EncodingStructured
// Message is an instance of EventMessage or it contains EventMessage nested (through MessageWrapper)
EncodingEvent

View File

@ -157,7 +157,7 @@ func (ec EventContextV03) AsV1() *EventContextV1 {
}
// Validate returns errors based on requirements from the CloudEvents spec.
// For more details, see https://github.com/cloudevents/spec/blob/v1.0.1/spec.md
// For more details, see https://github.com/cloudevents/spec/blob/master/spec.md
// As of Feb 26, 2019, commit 17c32ea26baf7714ad027d9917d03d2fff79fc7e
// + https://github.com/cloudevents/spec/pull/387 -> datacontentencoding
// + https://github.com/cloudevents/spec/pull/406 -> subject

View File

@ -163,7 +163,7 @@ func (ec EventContextV1) AsV1() *EventContextV1 {
}
// Validate returns errors based on requirements from the CloudEvents spec.
// For more details, see https://github.com/cloudevents/spec/blob/v1.0.1/spec.md.
// For more details, see https://github.com/cloudevents/spec/blob/v1.0/spec.md.
func (ec EventContextV1) Validate() ValidationError {
errors := map[string]error{}

View File

@ -37,7 +37,7 @@ type Protocol struct {
// OptionsHandlerFn handles the OPTIONS method requests and is intended to
// implement the abuse protection spec:
// https://github.com/cloudevents/spec/blob/v1.0.1/http-webhook.md#4-abuse-protection
// https://github.com/cloudevents/spec/blob/v1.0/http-webhook.md#4-abuse-protection
OptionsHandlerFn http.HandlerFunc
WebhookConfig *WebhookConfig

View File

@ -82,10 +82,10 @@ function publish_to_gcs() {
# These are global environment variables.
SKIP_TESTS=0
PRESUBMIT_TEST_FAIL_FAST=1
TAG_RELEASE=0
export TAG_RELEASE=0
PUBLISH_RELEASE=0
PUBLISH_TO_GITHUB=0
TAG=""
export TAG=""
BUILD_COMMIT_HASH=""
BUILD_YYYYMMDD=""
BUILD_TIMESTAMP=""
@ -606,8 +606,6 @@ function publish_to_github() {
if [[ -n "${RELEASE_NOTES}" ]]; then
cat "${RELEASE_NOTES}" >> "${description}"
fi
git tag -a "${github_tag}" -m "${title}"
git_push tag "${github_tag}"
# Include a tag for the go module version
#
@ -621,8 +619,14 @@ function publish_to_github() {
local go_module_version="v0.$(( release_minor + 27 )).$(patch_version $TAG)"
git tag -a "${go_module_version}" -m "${title}"
git_push tag "${go_module_version}"
else
# Pre-1.0 - use the tag as the release tag
github_tag="${TAG}"
fi
git tag -a "${github_tag}" -m "${title}"
git_push tag "${github_tag}"
[[ -n "${RELEASE_BRANCH}" ]] && commitish="--commitish=${RELEASE_BRANCH}"
for i in {2..0}; do
hub_tool release create \

2
vendor/modules.txt vendored
View File

@ -296,7 +296,7 @@ gopkg.in/go-playground/webhooks.v3/github
gopkg.in/yaml.v2
# honnef.co/go/tools v0.0.1-2020.1.5
## explicit
# knative.dev/hack v0.0.0-20211108170701-96aac1c30be3
# knative.dev/hack v0.0.0-20211122162614-813559cefdda
## explicit
knative.dev/hack
# go.opencensus.io => go.opencensus.io v0.20.2