Skip to content

Commit

Permalink
make: only upload freshly built binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
aktau committed Mar 29, 2017
1 parent 687970c commit 11fd197
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ bin/windows/amd64/$(EXECUTABLE).exe:
zip "$@" "$<"

# git tag -a v$(RELEASE) -m 'release $(RELEASE)'
release: bin/tmp/$(EXECUTABLE) $(COMPRESSED_EXECUTABLE_TARGETS)
release: clean
$(MAKE) bin/tmp/$(EXECUTABLE) $(COMPRESSED_EXECUTABLE_TARGETS)
git push && git push --tags
bin/tmp/$(EXECUTABLE) release -u $(USER) -r $(EXECUTABLE) \
-t $(LAST_TAG) -n $(LAST_TAG) || true
Expand Down

0 comments on commit 11fd197

Please sign in to comment.