Skip to content

Commit

Permalink
add missing .tar.gz suffix for sha256 files
Browse files Browse the repository at this point in the history
  • Loading branch information
adamweiner committed Apr 4, 2017
1 parent 458eaed commit 95919e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ release:
mkdir -p release/$(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION); \
GOOS=$$platform GOARCH=amd64 go build $(BUILD_FLAGS) -a -o release/$(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION)/$(BINARY_NAME) .; \
cd release; tar -cvzf $(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION).tar.gz $(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION)/$(BINARY_NAME); \
shasum -a256 $(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION).tar.gz | awk -F ' ' '{print $$1}' >> $(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION).sha256; \
shasum -a256 $(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION).tar.gz | awk -F ' ' '{print $$1}' >> $(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION).tar.gz.sha256; \
rm -rf $(BINARY_NAME)-$(VERSION).$$platform-amd64.$(GO_VERSION); cd ..; \
done

0 comments on commit 95919e8

Please sign in to comment.