Skip to content

Commit a9fb5d2

Browse files
committed
Reduces number of platforms for which binaries are released
1 parent b5ad4f3 commit a9fb5d2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
NAME := github-release
2-
VERSION := v1.0.2
2+
VERSION := v1.0.3
33

44
compile:
55
@rm -rf build/
66
@gox -ldflags "-X main.Version $(VERSION)" \
7+
-os="darwin" \
8+
-os="linux" \
9+
-os="windows" \
10+
-os="solaris" \
711
-output "build/{{.Dir}}_$(VERSION)_{{.OS}}_{{.Arch}}/$(NAME)"
812

913
install:
@@ -17,7 +21,7 @@ dist: compile
1721
$(eval FILES := $(shell ls build))
1822
@rm -rf dist/
1923
@mkdir dist/
20-
for f in $(FILES); do \
24+
@for f in $(FILES); do \
2125
(cd $(shell pwd)/build/$$f && tar -cvzf ../../dist/$$f.tar.gz *); \
2226
(cd $(shell pwd)/dist && shasum -a 512 $$f.tar.gz > $$f.sha512); \
2327
echo $$f; \

0 commit comments

Comments
 (0)