Skip to content

Commit

Permalink
Add new target for uploading binaries to release (#83)
Browse files Browse the repository at this point in the history
* Add new target for uploading binaries to release
  • Loading branch information
vadim-gleif authored Aug 8, 2018
1 parent 07df597 commit 0070e43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions modules/github/Makefile.release
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ github/download-public-release:
$(call assert-set,VERSION)
$(call assert-set,OUTPUT)
$(BUILD_HARNESS_PATH)/bin/github_download_public_release.sh $(VERSION) $(OUTPUT)

# To use ghr, you need a GitHub API token.
# Please set it via `GITHUB_TOKEN` env var
## Push all release artifacts to GitHub (Required: `GITHUB_TOKEN`)
github/push-artifacts: packages/install/ghr-linux
$(call assert-set,GIT_TAG)
$(call assert-set,ARTIFACTS)
@ghr $(GIT_TAG) $(ARTIFACTS)
2 changes: 1 addition & 1 deletion modules/packages/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export INSTALL_PATH ?= $(BUILD_HARNESS_PATH)/vendor
export PACKAGES_VERSION ?= 0.2.1
export PACKAGES_VERSION ?= 0.4.0
export PACKAGES_PATH ?= $(BUILD_HARNESS_PATH)/vendor/packages

## Delete packages
Expand Down

0 comments on commit 0070e43

Please sign in to comment.