Skip to content

Commit

Permalink
upload artifacts as cbft-VERSION.platform.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Apr 24, 2015
1 parent 6326fd6 commit 77313a7
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,16 @@ release-github-register:
$(strip $(shell cat ./tmp/dist-out/version.txt)))) \
--pre-release

release-github-upload: # Must be run in ./tmp/dist-out directory.
release-github-upload:
(cd ./tmp/dist-out; for f in *.gz *.zip *.md; do \
$(GOPATH)/bin/github-release upload \
--repo cbft \
--tag $(strip $(shell git describe --abbrev=0 --tags \
$(strip $(shell cat ./tmp/dist-out/version.txt)))) \
--name $(strip $(shell cat ./tmp/dist-out/version.txt))_$$f \
--file $$f; \
echo $$f | \
sed -e s/\\./-$(strip $(shell cat ./tmp/dist-out/version.txt))\\./1 | \
xargs $(GOPATH)/bin/github-release upload \
--file $$f \
--repo cbft \
--tag $(strip $(shell git describe --abbrev=0 --tags \
$(strip $(shell cat ./tmp/dist-out/version.txt)))) \
--name; \
done)

release-github-docs:
Expand Down

0 comments on commit 77313a7

Please sign in to comment.