Skip to content

Commit b6aceeb

Browse files
authored
Merge pull request #7 from cert-manager/self-upgrade
[CI] Merge self-upgrade into main
2 parents 3b5037d + 1c4420a commit b6aceeb

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

klone.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,40 +10,40 @@ targets:
1010
- folder_name: boilerplate
1111
repo_url: https://github.com/cert-manager/makefile-modules.git
1212
repo_ref: main
13-
repo_hash: 69ca8ba73402df69907d41f7f0758c0bf9a7351e
13+
repo_hash: edeba4963e470a9f5e55ab1947aa15f5bdb2a2c3
1414
repo_path: modules/boilerplate
1515
- folder_name: cert-manager
1616
repo_url: https://github.com/cert-manager/makefile-modules.git
1717
repo_ref: main
18-
repo_hash: 69ca8ba73402df69907d41f7f0758c0bf9a7351e
18+
repo_hash: edeba4963e470a9f5e55ab1947aa15f5bdb2a2c3
1919
repo_path: modules/cert-manager
2020
- folder_name: executable
2121
repo_url: https://github.com/cert-manager/makefile-modules.git
2222
repo_ref: main
23-
repo_hash: 69ca8ba73402df69907d41f7f0758c0bf9a7351e
23+
repo_hash: edeba4963e470a9f5e55ab1947aa15f5bdb2a2c3
2424
repo_path: modules/executable
2525
- folder_name: generate-verify
2626
repo_url: https://github.com/cert-manager/makefile-modules.git
2727
repo_ref: main
28-
repo_hash: 69ca8ba73402df69907d41f7f0758c0bf9a7351e
28+
repo_hash: edeba4963e470a9f5e55ab1947aa15f5bdb2a2c3
2929
repo_path: modules/generate-verify
3030
- folder_name: help
3131
repo_url: https://github.com/cert-manager/makefile-modules.git
3232
repo_ref: main
33-
repo_hash: 69ca8ba73402df69907d41f7f0758c0bf9a7351e
33+
repo_hash: edeba4963e470a9f5e55ab1947aa15f5bdb2a2c3
3434
repo_path: modules/help
3535
- folder_name: klone
3636
repo_url: https://github.com/cert-manager/makefile-modules.git
3737
repo_ref: main
38-
repo_hash: 69ca8ba73402df69907d41f7f0758c0bf9a7351e
38+
repo_hash: edeba4963e470a9f5e55ab1947aa15f5bdb2a2c3
3939
repo_path: modules/klone
4040
- folder_name: repository-base
4141
repo_url: https://github.com/cert-manager/makefile-modules.git
4242
repo_ref: main
43-
repo_hash: 69ca8ba73402df69907d41f7f0758c0bf9a7351e
43+
repo_hash: edeba4963e470a9f5e55ab1947aa15f5bdb2a2c3
4444
repo_path: modules/repository-base
4545
- folder_name: tools
4646
repo_url: https://github.com/cert-manager/makefile-modules.git
4747
repo_ref: main
48-
repo_hash: 69ca8ba73402df69907d41f7f0758c0bf9a7351e
48+
repo_hash: edeba4963e470a9f5e55ab1947aa15f5bdb2a2c3
4949
repo_path: modules/tools

make/_shared/executable/01_mod.mk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,15 @@ endef
117117
## for all release platforms and architectures. Additionally,
118118
## this will create a checksums file, sboms and sign the binaries.
119119
## @category [shared] Build
120-
exe-publish: | $(NEEDS_GO) $(NEEDS_GORELEASER) $(NEEDS_SYFT) $(NEEDS_YQ)
120+
exe-publish: | $(NEEDS_GO) $(NEEDS_GORELEASER) $(NEEDS_SYFT) $(NEEDS_YQ) $(NEEDS_COSIGN)
121121
$(eval go_releaser_path := $(bin_dir)/scratch/exe-publish)
122122
rm -rf $(CURDIR)/$(go_releaser_path)
123123

124124
cat $(gorelease_file) | \
125125
$(foreach target,$(exe_build_names),$(call template_for_target,$(target))) \
126126
$(YQ) '.dist = "$(CURDIR)/$(go_releaser_path)"' | \
127-
$(YQ) 'with(.sboms[]; .cmd = "$(SYFT)" | .args = ["$$artifact", "--output", "spdx-json=$$document"] | .env = ["SYFT_FILE_METADATA_CATALOGER_ENABLED=true"])' \
127+
$(YQ) 'with(.sboms[]; .cmd = "$(SYFT)" | .args = ["$$artifact", "--output", "spdx-json=$$document"] | .env = ["SYFT_FILE_METADATA_CATALOGER_ENABLED=true"])' | \
128+
$(YQ) 'with(.signs[]; .cmd = "$(COSIGN)")' \
128129
> $(CURDIR)/$(go_releaser_path).goreleaser_config.yaml
129130

130131
$(eval extra_args := )

0 commit comments

Comments
 (0)