Skip to content

Commit

Permalink
Add github-release binary (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored Jun 23, 2018
1 parent 79e3387 commit 3213d6d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Available targets:
chamber Install Chamber to manage secrets with SSM+KMS
fetch Install fetch to easily download files, folders, and release assets from a specific git commit, branch, or tag
github-commenter Install github-commenter
github-release Install github-release to create and edit releases on Github (and upload artifacts)
gomplate Install gomplate
goofys Install goofys
helm Install helm
Expand Down
1 change: 1 addition & 0 deletions docs/targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Available targets:
chamber Install Chamber to manage secrets with SSM+KMS
fetch Install fetch to easily download files, folders, and release assets from a specific git commit, branch, or tag
github-commenter Install github-commenter
github-release Install github-release to create and edit releases on Github (and upload artifacts)
gomplate Install gomplate
goofys Install goofys
helm Install helm
Expand Down
9 changes: 9 additions & 0 deletions install/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ export GITHUB_COMMENTER_VERSION ?= 0.1.0
github-commenter:
$(call github_download_binary_release,cloudposse,$(GITHUB_COMMENTER_VERSION),$@_$(OS)_$(ARCH))

export GITHUB_RELEASE_VERSION ?= 0.7.2
## Install github-release to create and edit releases on Github (and upload artifacts)
github-release:
mkdir -p $(TMP)/$@
$(CURL) -o - https://github.com/aktau/$@/releases/download/v$(GITHUB_RELEASE_VERSION)/$(OS)-$(ARCH)-$@.tar.bz2 | tar -C $(TMP)/$@ -zx bin/$(OS)/$(ARCH)/$@
mv $(TMP)/$@/bin/$(OS)/$(ARCH)/$@ $(INSTALL_PATH)/$@
rm -rf $(TMP)/$@
chmod +x $(INSTALL_PATH)/$@

export GOMPLATE_VERSION ?= 2.6.0
## Install gomplate
gomplate:
Expand Down

0 comments on commit 3213d6d

Please sign in to comment.