Skip to content

Commit 3e98610

Browse files
authored
Merge pull request #10 from cert-manager/self-upgrade
[CI] Merge self-upgrade into main
2 parents 2f75014 + c71210e commit 3e98610

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
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: 43dfc77ac0dc7b08fbeddef87a153b40b364929b
13+
repo_hash: 324e25c81aa398da8c3d6ee96ab87d2441dab8e5
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: 43dfc77ac0dc7b08fbeddef87a153b40b364929b
18+
repo_hash: 324e25c81aa398da8c3d6ee96ab87d2441dab8e5
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: 43dfc77ac0dc7b08fbeddef87a153b40b364929b
23+
repo_hash: 324e25c81aa398da8c3d6ee96ab87d2441dab8e5
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: 43dfc77ac0dc7b08fbeddef87a153b40b364929b
28+
repo_hash: 324e25c81aa398da8c3d6ee96ab87d2441dab8e5
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: 43dfc77ac0dc7b08fbeddef87a153b40b364929b
33+
repo_hash: 324e25c81aa398da8c3d6ee96ab87d2441dab8e5
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: 43dfc77ac0dc7b08fbeddef87a153b40b364929b
38+
repo_hash: 324e25c81aa398da8c3d6ee96ab87d2441dab8e5
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: 43dfc77ac0dc7b08fbeddef87a153b40b364929b
43+
repo_hash: 324e25c81aa398da8c3d6ee96ab87d2441dab8e5
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: 43dfc77ac0dc7b08fbeddef87a153b40b364929b
48+
repo_hash: 324e25c81aa398da8c3d6ee96ab87d2441dab8e5
4949
repo_path: modules/tools

make/_shared/executable/01_mod.mk

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
exe_operating_systems ?= darwin,linux,windows
16-
exe_architectures ?= amd64,arm,arm64,ppc64le,s390x
15+
exe_targets ?= darwin_amd64_v1,darwin_arm64,linux_amd64_v1,linux_arm_7,linux_arm64,linux_ppc64le,linux_s390x,windows_amd64_v1,windows_arm64
1716

1817
ifndef bin_dir
1918
$(error bin_dir is not set)
@@ -112,8 +111,7 @@ define template_for_target
112111
$(YQ) 'with(.builds[]; select(.id == "$(1)") | .ldflags[1] = "-w")' | \
113112
$(YQ) 'with(.builds[]; select(.id == "$(1)") | .ldflags[2] = "$(go_$(1)_ldflags)")' | \
114113
$(YQ) 'with(.builds[]; select(.id == "$(1)") | .gobinary = "$(GO)")' | \
115-
os=$(exe_operating_systems) $(YQ) 'with(.builds[]; select(.id == "$(1)") | .goos = (env(os) | split(",")))' | \
116-
archs=$(exe_architectures) $(YQ) 'with(.builds[]; select(.id == "$(1)") | .goarch = (env(archs) | split(",")))' |
114+
targets=$(exe_targets) $(YQ) 'with(.builds[]; select(.id == "$(1)") | .targets = (env(targets) | split(",")))' |
117115
endef
118116

119117
## Build the go source for release. This will build the source

0 commit comments

Comments
 (0)