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 b5ad4f3 commit a9fb5d2Copy full SHA for a9fb5d2
Makefile
@@ -1,9 +1,13 @@
1
NAME := github-release
2
-VERSION := v1.0.2
+VERSION := v1.0.3
3
4
compile:
5
@rm -rf build/
6
@gox -ldflags "-X main.Version $(VERSION)" \
7
+ -os="darwin" \
8
+ -os="linux" \
9
+ -os="windows" \
10
+ -os="solaris" \
11
-output "build/{{.Dir}}_$(VERSION)_{{.OS}}_{{.Arch}}/$(NAME)"
12
13
install:
@@ -17,7 +21,7 @@ dist: compile
17
21
$(eval FILES := $(shell ls build))
18
22
@rm -rf dist/
19
23
@mkdir dist/
20
- for f in $(FILES); do \
24
+ @for f in $(FILES); do \
25
(cd $(shell pwd)/build/$$f && tar -cvzf ../../dist/$$f.tar.gz *); \
26
(cd $(shell pwd)/dist && shasum -a 512 $$f.tar.gz > $$f.sha512); \
27
echo $$f; \
0 commit comments