Skip to content

Commit dc522f0

Browse files
upgrade to latest dependencies (#597)
bumping knative.dev/hack f88b7db...af735b2: > af735b2 Fix dot releases (# 434) Signed-off-by: Knative Automation <[email protected]>
1 parent 4691f82 commit dc522f0

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/spf13/cobra v1.8.1
1010
gotest.tools/v3 v3.3.0
1111
knative.dev/client/pkg v0.0.0-20250821172449-091f88684b9c
12-
knative.dev/hack v0.0.0-20250819212847-f88b7db09b1c
12+
knative.dev/hack v0.0.0-20250902154142-af735b2738d6
1313

1414
)
1515

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,8 @@ k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJ
610610
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
611611
knative.dev/client/pkg v0.0.0-20250821172449-091f88684b9c h1:SK9cz2JuRvllXQX3ykYkM6+WeD3bmTrxTdN97hKXJfI=
612612
knative.dev/client/pkg v0.0.0-20250821172449-091f88684b9c/go.mod h1:tD+8auT58DteHrfjXfl7Yvg10SzQnVx1hbPw5kHJUZk=
613-
knative.dev/hack v0.0.0-20250819212847-f88b7db09b1c h1:eG94MceyTPHalVaBXAaIVXkD1zLdrM9BpVD2oXbpEXs=
614-
knative.dev/hack v0.0.0-20250819212847-f88b7db09b1c/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
613+
knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0=
614+
knative.dev/hack v0.0.0-20250902154142-af735b2738d6/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
615615
knative.dev/pkg v0.0.0-20250821143151-4ffdcf6b3fa5 h1:2U4nNoTuF/3enFcPp1BVQXCjUC4XfieIHkZeuU7j8uA=
616616
knative.dev/pkg v0.0.0-20250821143151-4ffdcf6b3fa5/go.mod h1:ewap/fhCZCh6Gm+F6udBION8T2+UcJFK4L1Ss/5K8Dw=
617617
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=

vendor/knative.dev/hack/release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,15 @@ function prepare_dot_release() {
219219
# Use the original tag (ie. potentially with a knative- prefix) when determining the last version commit sha
220220
local github_tag="$(gh_tool release list --json tagName --jq '.[].tagName' | grep "${last_version}")"
221221
local last_release_commit="$(git rev-list -n 1 "${github_tag}")"
222-
local last_release_commit_filtered="$(git rev-list --invert-grep --grep '^(?!\s*>).*?\[skip-dot-release\]'-n 1 "${github_tag}")"
222+
local last_release_commit_filtered="$(git rev-list --invert-grep --grep '^(?!\s*>).*?\[skip-dot-release\]' -n 1 "${github_tag}")"
223223
local release_branch_commit="$(git rev-list -n 1 upstream/"${RELEASE_BRANCH}")"
224224
local release_branch_commit_filtered="$(git rev-list --invert-grep --grep '^(?!\s*>).*?\[skip-dot-release\]' -n 1 upstream/"${RELEASE_BRANCH}")"
225+
225226
[[ -n "${last_release_commit}" ]] || abort "cannot get last release commit"
226227
[[ -n "${release_branch_commit}" ]] || abort "cannot get release branch last commit"
228+
[[ -n "${last_release_commit_filtered}" ]] || abort "cannot get filtered last release commit"
229+
[[ -n "${release_branch_commit_filtered}" ]] || abort "cannot get filtered release branch last commit"
230+
227231
echo "Version ${last_version} is at commit ${last_release_commit}. Comparing using ${last_release_commit_filtered}. If it is different is because commits with the [skip-dot-release] flag in their commit body are not being considered."
228232
echo "Branch ${RELEASE_BRANCH} is at commit ${release_branch_commit}. Comparing using ${release_branch_commit_filtered}. If it is different is because commits with the [skip-dot-release] flag in their commit body are not being considered."
229233
if [[ "${last_release_commit_filtered}" == "${release_branch_commit_filtered}" ]]; then

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,6 @@ k8s.io/utils/clock
229229
## explicit; go 1.24.0
230230
knative.dev/client/pkg/config
231231
knative.dev/client/pkg/plugin
232-
# knative.dev/hack v0.0.0-20250819212847-f88b7db09b1c
232+
# knative.dev/hack v0.0.0-20250902154142-af735b2738d6
233233
## explicit; go 1.21
234234
knative.dev/hack

0 commit comments

Comments
 (0)