Skip to content

Commit aec24d2

Browse files
committed
fix: remove comments
1 parent d9e6d16 commit aec24d2

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

Makefile

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,10 @@ cross-build:
3939
GOOS=$$os CGO_ENABLED=0 go build -a -tags netgo -installsuffix netgo $(LDFLAGS) -o dist/$(NAME)-$$os$$EXT .; \
4040
done
4141

42-
# cross-build
43-
release:
42+
release: cross-build
4443
git tag $(VERSION)
4544
git push origin $(VERSION)
4645
OWNER=$(OWNER) NAME=$(NAME) PAT=$(PAT) VERSION=$(VERSION) . hack/release.sh
47-
# id=$(shell curl \
48-
# -X POST \
49-
# -u $(OWNER):$(PAT) \
50-
# -H "Accept: application/vnd.github.v3+json" \
51-
# https://api.github.com/repos/$(OWNER)/$(NAME)/releases \
52-
# -d '{"tag_name":"$(VERSION)","generate_release_notes":true,"prerelease":false}' | jq -r .id) \
53-
# upload_url=https://uploads.github.com/repos/$(OWNER)/$(NAME)/releases/$$id/assets; \
54-
# for asset in dist/*; do \
55-
# echo $$asset; \
56-
# name=$(shell echo $asset | cut -c 6-); \
57-
# curl -u $(OWNER):$(PAT) -H "Content-Type: application/x-binary" -X POST --data-binary "@$$asset" "$$upload_url?name=$$name"; \
58-
# done
5946

6047
.PHONY: deps
6148
deps:

0 commit comments

Comments
 (0)