Skip to content

Commit

Permalink
Fixes make release-* to respect existing tags
Browse files Browse the repository at this point in the history
and use coffee and node bundled in mindbender to talk to GitHub with util/build/upload-github-release-asset
  • Loading branch information
netj committed Feb 19, 2016
1 parent 4e8b5e0 commit ec64859
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ $(PACKAGE): build
# util/install/ can then download and install the binary release directly
# without building the source tree.

# XXX put coffee and node from mindbender on PATH
release-%: PATH := $(realpath $(STAGE_DIR)/mindbender/node_modules/.bin):$(realpath $(STAGE_DIR)/mindbender/depends/bundled/.all/bin):$(PATH)
release-%: GITHUB_REPO = HazyResearch/deepdive
release-%: RELEASE_VERSION = $*
release-%: RELEASE_PACKAGE = deepdive-$(RELEASE_VERSION)-$(shell uname).tar.gz
release-%:
git tag --annotate --force $(RELEASE_VERSION)
-git tag --annotate $(RELEASE_VERSION) --cleanup=whitespace
$(MAKE) RELEASE_VERSION=$(RELEASE_VERSION) $(PACKAGE)
ln -sfn $(PACKAGE) $(RELEASE_PACKAGE)
# Releasing $(RELEASE_PACKAGE) to GitHub
Expand Down

0 comments on commit ec64859

Please sign in to comment.