We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1248db1 commit be6b28eCopy full SHA for be6b28e
Makefile
@@ -38,6 +38,15 @@ cross-build:
38
GOOS=$$os CGO_ENABLED=0 go build -a -tags netgo -installsuffix netgo $(LDFLAGS) -o dist/$(NAME)-$$os$$EXT .; \
39
done
40
41
+release: cross-build
42
+ git tag $(VERSION)
43
+ git push origin $(VERSION)
44
+ curl \
45
+ -X POST \
46
+ -H "Accept: application/vnd.github.v3+json" \
47
+ https://api.github.com/repos/dnitsch/$(NAME)/releases \
48
+ -d '{"tag_name":"$(VERSION)","generate_release_notes":true,"prerelease":false}'
49
+
50
.PHONY: deps
51
deps:
52
GO111MODULE=on go mod vendor
0 commit comments