Skip to content

Commit 5d86f91

Browse files
committed
Remove goreleaser-local target in lieu of goreleaser
The new target isn't needed, as the existing `goreleaser` target was created primarily for running it local and manually. There's no need to push artifacts when running that target.
1 parent b14f553 commit 5d86f91

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Makefile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,6 @@ $(PREFIX)/$(BINNAME): $(SRC)
133133
github.com/smallstep/cli/cmd/step
134134

135135
goreleaser:
136-
$Q mkdir -p $(PREFIX)
137-
$Q $(GOOS_OVERRIDE) $(CGO_OVERRIDE) DEBUG=$(DEBUG) goreleaser build \
138-
--id $(GORELEASER_BUILD_ID) \
139-
--snapshot \
140-
--single-target \
141-
--clean \
142-
--output $(PREFIX)/$(BINNAME)
143-
144-
goreleaser-local:
145136
$Q mkdir -p $(PREFIX)
146137
$Q $(GOOS_OVERRIDE) $(CGO_OVERRIDE) DEBUG=$(DEBUG) goreleaser build \
147138
--id $(GORELEASER_BUILD_ID) \
@@ -151,8 +142,7 @@ goreleaser-local:
151142
--skip=$(GORELEASER_SKIP) \
152143
--output $(PREFIX)/$(BINNAME)
153144

154-
155-
.PHONY: build goreleaser goreleaser-local
145+
.PHONY: build goreleaser
156146

157147

158148
#########################################

0 commit comments

Comments
 (0)