Skip to content

Commit

Permalink
Merge pull request #46 from Songmu/shasum
Browse files Browse the repository at this point in the history
add SHA256SUMS to artifacts
  • Loading branch information
Songmu authored Nov 20, 2022
2 parents c141878 + 9ac75fc commit c1b112f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ release: devel-deps
CREDITS: go.sum devel-deps
godzil credits -w

DIST_DIR = dist
.PHONY: crossbuild
crossbuild: go.sum devel-deps
rm -rf $(DIST_DIR)
godzil crossbuild -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) \
-os=linux,darwin -d=./dist/v$(VERSION) ./cmd/*
-os=linux,darwin -d=$(DIST_DIR) ./cmd/*
cd $(DIST_DIR) && shasum -a 256 $$(find * -type f -maxdepth 0) > SHA256SUMS

.PHONY: upload
upload:
Expand Down

0 comments on commit c1b112f

Please sign in to comment.