diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-08-13 16:08:38 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-08-13 16:08:38 +0200 |
commit | 9fb167ce499a8dc0f687e33c0e68818e7a9c0681 (patch) | |
tree | 266f1f537097e192784b47af8f14ba04b8e3cd39 /Makefile | |
parent | fixed default config (diff) |
upgraded to 0.1.3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -3,7 +3,9 @@ GOX_OUTPUT_DIR ?= bin GH_ACCESS_TOKEN ?= Missing access token. MESSAGE ?= Latest release. -all: clean +all: build + +build: clean @mkdir -p $(GOX_OUTPUT_DIR) && \ gox -osarch=$(GOX_OSARCH) -output "$(GOX_OUTPUT_DIR)/{{.Dir}}_{{.OS}}_{{.Arch}}" && \ gzip bin/vanity_darwin_* && \ @@ -14,7 +16,7 @@ all: clean require-version: @if [[ -z "$$VERSION" ]]; then echo "Missing \$$VERSION"; exit 1; fi -release: require-version +release: build require-version @RESP=$$(curl --silent --data '{ \ "tag_name": "v$(VERSION)", \ "name": "v$(VERSION)", \ @@ -36,3 +38,6 @@ release: require-version clean: @rm -rf $(GOX_OUTPUT_DIR) + +docker: + docker build -t xiam/vanity . |