Skip to content

Commit

Permalink
move commented out SHASUM generation to bottom of file
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
  • Loading branch information
SgtCoDFish committed Jun 7, 2022
1 parent 412d720 commit a1c44ea
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions make/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ release-artifacts-signed: release-artifacts release-manifests-signed
release: release-artifacts-signed
$(MAKE) --no-print-directory $(BINDIR)/release/metadata.json

# Example of how we can generate a SHA256SUMS file and sign it using cosign
#$(BINDIR)/SHA256SUMS: $(wildcard ...)
# @# The patsubst means "all dependencies, but with "$(BINDIR)/" trimmed off the beginning
# @# We cd into bin so that SHA256SUMS file doesn't have a prefix of `bin` on everything
# cd $(dir $@) && sha256sum $(patsubst $(BINDIR)/%,%,$^) > $(notdir $@)

#$(BINDIR)/SHA256SUMS.sig: $(BINDIR)/SHA256SUMS $(BINDIR)/tools/cosign
# $(BINDIR)/tools/cosign sign-blob --key $(COSIGN_KEY) $< > $@

# Takes all metadata files in $(BINDIR)/metadata and combines them into one.

$(BINDIR)/release/metadata.json: $(wildcard $(BINDIR)/metadata/*.json) | $(BINDIR)/release
Expand Down Expand Up @@ -99,3 +90,12 @@ forcetime: | $(BINDIR)

$(BINDIR)/release $(BINDIR)/metadata:
@mkdir -p $@

# Example of how we can generate a SHA256SUMS file and sign it using cosign
#$(BINDIR)/SHA256SUMS: $(wildcard ...)
# @# The patsubst means "all dependencies, but with "$(BINDIR)/" trimmed off the beginning
# @# We cd into bin so that SHA256SUMS file doesn't have a prefix of `bin` on everything
# cd $(dir $@) && sha256sum $(patsubst $(BINDIR)/%,%,$^) > $(notdir $@)

#$(BINDIR)/SHA256SUMS.sig: $(BINDIR)/SHA256SUMS $(BINDIR)/tools/cosign
# $(BINDIR)/tools/cosign sign-blob --key $(COSIGN_KEY) $< > $@

0 comments on commit a1c44ea

Please sign in to comment.