Skip to content

Commit dba258c

Browse files
authored
Merge pull request #2050 from sbueringer/pr-automate-release
✨ Automate GitHub release creation
2 parents 901740c + d95b903 commit dba258c

File tree

10 files changed

+103
-51
lines changed

10 files changed

+103
-51
lines changed

.github/workflows/release.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: release
2+
3+
on:
4+
push:
5+
# Sequence of patterns matched against refs/tags
6+
tags:
7+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
8+
9+
permissions:
10+
contents: write # Allow to create a release.
11+
12+
jobs:
13+
build:
14+
name: create draft release
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Set env
18+
run: echo "RELEASE_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
19+
- name: checkout code
20+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # tag=v3.5.3
21+
with:
22+
fetch-depth: 0
23+
- name: Calculate go version
24+
run: echo "go_version=$(make go-version)" >> $GITHUB_ENV
25+
- name: Set up Go
26+
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # tag=v4.0.1
27+
with:
28+
go-version: ${{ env.go_version }}
29+
- name: generate release artifacts
30+
run: |
31+
make release-manifests VERSION=${RELEASE_TAG}
32+
- name: generate release notes
33+
run: |
34+
make generate-release-notes
35+
- name: Release
36+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # tag=v1
37+
with:
38+
draft: true
39+
files: out/*
40+
body_path: _releasenotes/${{ env.RELEASE_TAG }}.md

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ vendor/
5757
# Ignore the temporary .gopath directory
5858
.gopath/
5959

60-
# ignore generated yaml in out/
61-
out/
60+
# release artifacts
61+
out
62+
_releasenotes
6263

6364
# Ignore the kubeconfig file generated by clusterctl
6465
/kubeconfig

Makefile

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,17 @@ WEBHOOK_ROOT ?= $(MANIFEST_ROOT)/webhook
101101
RBAC_ROOT ?= $(MANIFEST_ROOT)/rbac
102102
SKIP_RESOURCE_CLEANUP ?= false
103103
USE_EXISTING_CLUSTER ?= false
104+
105+
## latest git tag for the commit, e.g., v0.3.10
106+
RELEASE_TAG ?= $(shell git describe --abbrev=0 2>/dev/null)
107+
ifneq (,$(findstring -,$(RELEASE_TAG)))
108+
PRE_RELEASE=true
109+
endif
110+
# the previous release tag, e.g., v0.3.9, excluding pre-release tags
111+
PREVIOUS_TAG ?= $(shell git tag -l | grep -E "^v[0-9]+\.[0-9]+\.[0-9]+$$" | sort -V | grep -B1 $(RELEASE_TAG) | head -n 1 2>/dev/null)
104112
RELEASE_DIR := out
113+
RELEASE_NOTES_DIR := _releasenotes
114+
105115
BUILD_DIR := .build
106116
OVERRIDES_DIR := $(HOME)/.cluster-api/overrides/infrastructure-vsphere/$(VERSION)
107117

@@ -367,6 +377,8 @@ generate-flavors: $(FLAVOR_DIR)
367377
$(RELEASE_DIR):
368378
@mkdir -p $(RELEASE_DIR)
369379

380+
$(RELEASE_NOTES_DIR):
381+
mkdir -p $(RELEASE_NOTES_DIR)/
370382

371383
$(BUILD_DIR):
372384
@mkdir -p $(BUILD_DIR)
@@ -410,8 +422,12 @@ manifests: $(STAGE)-version-check $(STAGE)-flavors $(MANIFEST_DIR) $(BUILD_DIR)
410422
"$(KUSTOMIZE)" build $(BUILD_DIR)/config/supervisor > $(MANIFEST_DIR)/infrastructure-components-supervisor.yaml
411423

412424
.PHONY: generate-release-notes
413-
generate-release-notes: $(TOOLING_BINARIES)
414-
"$(RELEASE_NOTES)" --project kubernetes-sigs/cluster-api-provider-vsphere --branch $(release_branch) --from $(previous_release_tag_or_commit) --r $(release_type) --show-others docs,infra
425+
generate-release-notes: $(RELEASE_NOTES_DIR) $(TOOLING_BINARIES)
426+
if [ -n "${PRE_RELEASE}" ]; then \
427+
echo ":rotating_light: This is a RELEASE CANDIDATE. Use it only for testing purposes. If you find any bugs, file an [issue](https://github.com/kubernetes-sigs/cluster-api/issues/new)." > $(RELEASE_NOTES_DIR)/$(RELEASE_TAG).md; \
428+
else \
429+
"$(RELEASE_NOTES)" --from=$(PREVIOUS_TAG) --prefix-area-label=false --add-kubernetes-version-support=false > $(RELEASE_NOTES_DIR)/$(RELEASE_TAG).md; \
430+
fi
415431

416432
## --------------------------------------
417433
## Verification

docs/releasing.md

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,29 @@
22

33
## Manual
44

5-
1. Login using `gcloud auth login`. You should see
6-
`cluster-api-provider-vsphere` in your list of available projects.
7-
2. Make sure your repo is clean by git's standards
8-
3. If this is a new minor release,
9-
1. Verify that the `metadata.yaml` file has an entry binding the CAPI contract
10-
to this new release version.
11-
If this is not yet done, create a new commit to add this entry.
12-
2. Create a new release branch and push
13-
to github, otherwise switch to it, for example `release-0.7`
14-
4. Create an env var VERSION=v0.x.x Ensure the version is prefixed with a v
15-
5. Tag the repository and push the tag `git tag -m $VERSION $VERSION`
16-
* If you have a GPG key for use with git use `git tag -s -m $VERSION $VERSION`
17-
to push a signed tag.
18-
6. Push the tag using `git push upstream $VERSION`
19-
7. Create a draft release in github and associate it with the tag that
20-
was just created.
21-
8. Checkout the tag you've just created and make sure git is in a clean
22-
state
23-
9. Run `hack/release.sh -l` to generate the docker image. Use `-l` if
24-
the `latest` tag should also be applied to the Docker image. Make a
25-
note of the docker image, which should be of the format
26-
manager:${VERSION}. Ignore the manifest:${VERSION}.
27-
10. Run `make release-manifests VERSION=$VERSION` to generate release
28-
manifests in the `/out` directory, and attach them to the draft
29-
release.
30-
11. Push the created docker image, as well as the latest tag, if required.
31-
12. Finalise the release notes
32-
13. Publish release. Use the pre-release option for release
33-
candidate versions of Cluster API Provider vSphere.
34-
14. Email `[email protected]` to
5+
Push the release tag:
6+
7+
1. If this is a new minor release,
8+
1. Verify that the `metadata.yaml` file has an entry binding the CAPI contract
9+
to this new release version.
10+
If this is not yet done, create a new commit to add this entry.
11+
2. Create a new release branch and push
12+
to github, otherwise switch to it, for example `release-0.7`
13+
2. Create an env var VERSION=v0.x.x Ensure the version is prefixed with a v
14+
3. Tag the repository and push the tag `git tag -m $VERSION $VERSION`
15+
* If you have a GPG key for use with git use `git tag -s -m $VERSION $VERSION`
16+
to push a signed tag.
17+
4. Push the tag using `git push upstream $VERSION`
18+
19+
Wait until:
20+
21+
* The release GitHub action created a GitHub draft release: [link](https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/actions/workflows/release.yaml)
22+
* The post-submit ProwJob pushed the image: [link](https://prow.k8s.io/?job=post-cluster-api-provider-vsphere-release)
23+
24+
Publish the release:
25+
26+
1. Review the release notes
27+
2. Publish release. Use the pre-release option for release
28+
candidate versions of Cluster API Provider vSphere.
29+
3. Email `[email protected]` to
3530
announce the release

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.20
55
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.5.0-rc.1
66

77
require (
8-
github.com/antihax/optional v1.0.0
98
github.com/go-logr/logr v1.2.4
109
github.com/google/gofuzz v1.2.0
1110
github.com/google/uuid v1.3.0
@@ -23,7 +22,6 @@ require (
2322
golang.org/x/crypto v0.11.0
2423
golang.org/x/exp v0.0.0-20221002003631-540bb7301a08
2524
golang.org/x/mod v0.12.0
26-
golang.org/x/oauth2 v0.10.0
2725
golang.org/x/text v0.11.0
2826
golang.org/x/tools v0.11.0
2927
gopkg.in/gcfg.v1 v1.2.3
@@ -61,6 +59,7 @@ require (
6159
go.uber.org/multierr v1.8.0 // indirect
6260
go.uber.org/zap v1.24.0 // indirect
6361
golang.org/x/net v0.12.0 // indirect
62+
golang.org/x/oauth2 v0.10.0 // indirect
6463
golang.org/x/sys v0.10.0 // indirect
6564
golang.org/x/term v0.10.0 // indirect
6665
)

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF
8383
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
8484
github.com/alessio/shellescape v1.4.1 h1:V7yhSDDn8LP4lc4jS8pFkt0zCnzVJlG5JXy9BVKJUX0=
8585
github.com/alessio/shellescape v1.4.1/go.mod h1:PZAiSCk0LJaZkiCSkPv8qIobYglO3FPpyFjDCtHLS30=
86-
github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg=
8786
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
8887
github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 h1:yL7+Jz0jTC6yykIK/Wh74gnTJnrGr5AyrNMXuA0gves=
8988
github.com/antlr/antlr4/runtime/Go/antlr v1.4.10/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY=

hack/tools/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ go-apidiff: $(APIDIFF) $(SRCS) ## Build go-apidiff
7474
$(APIDIFF): go.mod
7575
go build -tags=tools -o $@ github.com/joelanford/go-apidiff
7676

77-
release-notes: $(RELEASE_NOTES) $(SRCS)
77+
release-notes: $(RELEASE_NOTES) $(SRCS) ## fetch CAPI's release notes tool
7878
$(RELEASE_NOTES): go.mod
79-
go build -tags=tools -o $@ sigs.k8s.io/kubebuilder-release-tools/notes
79+
go build -tags=tools -o $@ sigs.k8s.io/cluster-api/hack/tools/release
8080

8181
## --------------------------------------
8282
## Generate

hack/tools/go.mod

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,19 @@ require (
66
github.com/joelanford/go-apidiff v0.6.0
77
github.com/onsi/ginkgo/v2 v2.11.0
88
k8s.io/code-generator v0.27.3
9-
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20230711141913-5dedc1b4f9d5
9+
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20230720182410-9c0a017bd4e3
1010
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20211110210527-619e6b92dab9
1111
sigs.k8s.io/kind v0.17.0
12-
sigs.k8s.io/kubebuilder-release-tools/notes v0.0.0-20220428224951-d8a44c7aef35
1312
sigs.k8s.io/testing_frameworks v0.1.2
1413
)
1514

1615
require (
1716
github.com/BurntSushi/toml v1.2.1 // indirect
1817
github.com/Microsoft/go-winio v0.5.2 // indirect
19-
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
18+
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
2019
github.com/acomagu/bufpipe v1.0.3 // indirect
2120
github.com/alessio/shellescape v1.4.1 // indirect
22-
github.com/blang/semver/v4 v4.0.0 // indirect
21+
github.com/cloudflare/circl v1.3.3 // indirect
2322
github.com/emirpasic/gods v1.12.0 // indirect
2423
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
2524
github.com/go-git/gcfg v1.5.0 // indirect

hack/tools/go.sum

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jB
4545
github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0=
4646
github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA=
4747
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
48-
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ=
4948
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
49+
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 h1:wPbRQzjjwFc0ih8puEVAOFGELsn1zoIIYdxvML7mDxA=
50+
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8/go.mod h1:I0gYDMZ6Z5GRU7l58bNFSkPTFN6Yl12dsUlAZ8xy98g=
5051
github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
5152
github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
5253
github.com/alessio/shellescape v1.4.1 h1:V7yhSDDn8LP4lc4jS8pFkt0zCnzVJlG5JXy9BVKJUX0=
@@ -57,13 +58,15 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPd
5758
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
5859
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
5960
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
60-
github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=
61-
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
61+
github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
6262
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
6363
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
6464
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
6565
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
6666
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
67+
github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I=
68+
github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs=
69+
github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=
6770
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
6871
github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
6972
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
@@ -327,6 +330,7 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U
327330
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
328331
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
329332
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
333+
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
330334
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
331335
golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA=
332336
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
@@ -480,6 +484,7 @@ golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7w
480484
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
481485
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
482486
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
487+
golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
483488
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
484489
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
485490
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
@@ -699,8 +704,8 @@ k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt
699704
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
700705
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
701706
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
702-
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20230711141913-5dedc1b4f9d5 h1:dsC+gSKtxg+HLJSRQgbgxO3ARDeF1lPdNjqXe8fSP/E=
703-
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20230711141913-5dedc1b4f9d5/go.mod h1:7o6wiVgH96FfrzR8KyAYyGrtxbtpd8gnv7Bmjw4RHAc=
707+
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20230720182410-9c0a017bd4e3 h1:pUeiYorX3gvp5b9gMELgAdcd4fzP1u3dqKFavwoaPjA=
708+
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20230720182410-9c0a017bd4e3/go.mod h1:7o6wiVgH96FfrzR8KyAYyGrtxbtpd8gnv7Bmjw4RHAc=
704709
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20211110210527-619e6b92dab9 h1:ylYUI5uaq/guUFerFRVG81FHSA5/3+fERCE1RQbQUZ4=
705710
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20211110210527-619e6b92dab9/go.mod h1:+sJcI1F0QI0Cv+8fp5rH5B2fK1LxzrAQqYnaPx9nY8I=
706711
sigs.k8s.io/controller-tools v0.12.1 h1:GyQqxzH5wksa4n3YDIJdJJOopztR5VDM+7qsyg5yE4U=
@@ -709,8 +714,6 @@ sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMm
709714
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
710715
sigs.k8s.io/kind v0.17.0 h1:CScmGz/wX66puA06Gj8OZb76Wmk7JIjgWf5JDvY7msM=
711716
sigs.k8s.io/kind v0.17.0/go.mod h1:Qqp8AiwOlMZmJWs37Hgs31xcbiYXjtXlRBSftcnZXQk=
712-
sigs.k8s.io/kubebuilder-release-tools/notes v0.0.0-20220428224951-d8a44c7aef35 h1:nUlVsmPoM5QezMBch4fcKiw14QC9ICge+u4qWLouGLQ=
713-
sigs.k8s.io/kubebuilder-release-tools/notes v0.0.0-20220428224951-d8a44c7aef35/go.mod h1:0MFmf9EVf9hm7ULQMpWPWHfh0w7Ut4Ze09onqy2zDSM=
714717
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE=
715718
sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E=
716719
sigs.k8s.io/testing_frameworks v0.1.2 h1:vK0+tvjF0BZ/RYFeZ1E6BYBwHJJXhjuZ3TdsEKH+UQM=

hack/tools/tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import (
2525
_ "github.com/onsi/ginkgo/v2/ginkgo"
2626
_ "k8s.io/code-generator/cmd/conversion-gen"
2727
_ "sigs.k8s.io/cluster-api/hack/tools/conversion-verifier"
28+
_ "sigs.k8s.io/cluster-api/hack/tools/release"
2829
_ "sigs.k8s.io/controller-runtime/tools/setup-envtest"
2930
_ "sigs.k8s.io/kind"
30-
_ "sigs.k8s.io/kubebuilder-release-tools/notes"
3131
_ "sigs.k8s.io/testing_frameworks/integration"
3232
)

0 commit comments

Comments
 (0)