diff --git a/Makefile b/Makefile index dd38e2b..cccf217 100644 --- a/Makefile +++ b/Makefile @@ -150,9 +150,8 @@ lint: go-lint docker-lint ## to lint test: go-test ## to test package-software: ## to package the binary - @$(INFO) Packaging ${APP_NAME}:${APP_VERSION} - # Loop through each binary and create a tar.gz file with the structure we need - for file in $(GO_OUT_BIN_DIR)/mattermost-push-proxy-*; do \ + @$(INFO) Packaging + $(AT) for file in $(GO_OUT_BIN_DIR)/mattermost-push-proxy-*; do \ target=$$(basename $$file); \ mkdir -p $(GO_OUT_BIN_DIR)/$${target}_temp/bin; \ cp -RL config $(GO_OUT_BIN_DIR)/$${target}_temp/config; \ @@ -163,7 +162,7 @@ package-software: ## to package the binary tar -czf $(GO_OUT_BIN_DIR)/$${target}.tar.gz -C $(GO_OUT_BIN_DIR) $${target}; \ rm -r $(GO_OUT_BIN_DIR)/$${target}; \ done - @$(OK) Packaging ${APP_NAME}:${APP_VERSION} + @$(OK) Packaging .PHONY: docker-build docker-build: ## to build the docker image