Skip to content

Commit

Permalink
fix: remove unnecessary subdirectory tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
kurokobo committed Feb 2, 2023
1 parent 9360b56 commit 8cb434f
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 @@ -76,7 +76,7 @@ build-package:
@echo "Building and packaging binary for $(GOOS)/$(GOARCH) as dist/$(DIST).tar.gz" && \
mkdir -p dist/$(DIST) && \
GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=0 go build -o dist/$(DIST)/$(BINNAME) $(DEBUGFLAGS) -ldflags "-X 'github.com/ansible/receptor/internal/version.Version=$(VERSION)'" $(TAGPARAM) ./cmd/receptor-cl && \
tar -C dist -zcf dist/$(DIST).tar.gz $(DIST)/$(BINNAME) && \
tar -C dist/$(DIST) -zcf dist/$(DIST).tar.gz $(BINNAME) && \
cd dist/ && sha256sum $(DIST).tar.gz >> checksums.txt

RUNTEST ?=
Expand Down

0 comments on commit 8cb434f

Please sign in to comment.