Skip to content

Commit f20e1a1

Browse files
authored
Fix-brew-install (#635)
* returned cli-package target (for homebrew)
1 parent 8111859 commit f20e1a1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.1.2
1+
VERSION=v0.1.3
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")
@@ -76,7 +76,10 @@ cli-local: $(OUT_DIR)/$(CLI_NAME)-$(shell go env GOOS)-$(shell go env GOARCH)
7676
@ln $(OUT_DIR)/$(CLI_NAME)-$(shell go env GOOS)-$(shell go env GOARCH) /usr/local/bin/$(CLI_NAME)-dev
7777

7878
.PHONY: cli-e2e
79-
cli-e2e: $(OUT_DIR)/$(CLI_NAME)-$(shell go env GOOS)-$(shell go env GOARCH)
79+
cli-e2e: cli-package
80+
81+
.PHONY: cli-package
82+
cli-package: $(OUT_DIR)/$(CLI_NAME)-$(shell go env GOOS)-$(shell go env GOARCH)
8083
@cp $(OUT_DIR)/$(CLI_NAME)-$(shell go env GOOS)-$(shell go env GOARCH) $(OUT_DIR)/$(CLI_NAME)
8184

8285
$(OUT_DIR)/$(CLI_NAME)-linux-amd64: GO_FLAGS='GOOS=linux GOARCH=amd64 CGO_ENABLED=0'

pkg/util/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ func Retry(ctx context.Context, opts *RetryOptions) error {
365365
break
366366
}
367367

368-
log.G(ctx).Debug("retry: %s \n err: %s\n Function call failed, trying again", try, err.Error())
368+
log.G(ctx).Debugf("retry: %d \n err: %s\n Function call failed, trying again", try, err.Error())
369369

370370
if opts.Sleep != 0 {
371371
time.Sleep(opts.Sleep)

0 commit comments

Comments
 (0)