Skip to content

Commit 31cca91

Browse files
upgrade to latest dependencies (#6358)
bumping knative.dev/hack d496a6e...1499de2: > 1499de2 Fix dot releases (# 433) Signed-off-by: Knative Automation <[email protected]>
1 parent 8f460d8 commit 31cca91

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
@@ -5,7 +5,7 @@ go 1.23.0
55
require (
66
github.com/google/go-github/v32 v32.1.0
77
gopkg.in/yaml.v2 v2.3.0
8-
knative.dev/hack v0.0.0-20250819212547-d496a6e708d3
8+
knative.dev/hack v0.0.0-20250902153942-1499de21e119
99
)
1010

1111
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8X
2323
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2424
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
2525
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
26-
knative.dev/hack v0.0.0-20250819212547-d496a6e708d3 h1:4V+r4q/1ln8U1M1qBotYGfBza7whAf2iMCZtgdhAiu0=
27-
knative.dev/hack v0.0.0-20250819212547-d496a6e708d3/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
26+
knative.dev/hack v0.0.0-20250902153942-1499de21e119 h1:NbQvjnFK1tL489LN0qAybWy0E17Jpziwcv/XIHwfp6M=
27+
knative.dev/hack v0.0.0-20250902153942-1499de21e119/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=

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
@@ -22,7 +22,7 @@ golang.org/x/crypto/openpgp/s2k
2222
# gopkg.in/yaml.v2 v2.3.0
2323
## explicit
2424
gopkg.in/yaml.v2
25-
# knative.dev/hack v0.0.0-20250819212547-d496a6e708d3
25+
# knative.dev/hack v0.0.0-20250902153942-1499de21e119
2626
## explicit; go 1.21
2727
knative.dev/hack
2828
# go.opencensus.io => go.opencensus.io v0.20.2

0 commit comments

Comments
 (0)