Skip to content

Commit

Permalink
Merge pull request #144 from stefannica/fix-versioned-release-0.1
Browse files Browse the repository at this point in the history
fix: [0.1] Set version correctly for released binaries
  • Loading branch information
stefannica committed Jun 9, 2021
2 parents 31a6b23 + cb73df9 commit b0f9be2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ build: embed_files lint build-installer
build-installer:
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags '$(LDFLAGS)' -o dist/fuseml-installer

build-small:
@$(MAKE) LDFLAGS+="-s -w" build-installer

test: embed_files
ginkgo ./cmd/internal/client/ ./tools/ ./helpers/ ./kubernetes/

Expand Down Expand Up @@ -115,7 +112,7 @@ help:
# Embed files, run linter and build release-ready archived binaries for all supported ARCHs and OSs
release: embed_files lint release-all

release-installer: build-small
release-installer: build-installer
tar zcf dist/fuseml-installer-$(GOOS)-$(GOARCH).tar.gz -C dist/ --remove-files --transform="s#\.\/##" ./fuseml-installer
cd dist && sha256sum -b fuseml-installer-$(GOOS)-$(GOARCH).tar.gz > fuseml-installer-$(GOOS)-$(GOARCH).tar.gz.sha256

Expand Down

0 comments on commit b0f9be2

Please sign in to comment.