From 7b039950b99900b6ec6c81918e8124664e4a6de9 Mon Sep 17 00:00:00 2001 From: xcaspar Date: Mon, 28 Sep 2020 16:11:17 +0800 Subject: [PATCH] chore:update version to 0.7.0 Signed-off-by: xcaspar --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9f77c59..99710f4 100644 --- a/Makefile +++ b/Makefile @@ -4,17 +4,17 @@ BLADE_SRC_ROOT=$(shell pwd) UNAME := $(shell uname) ifeq ($(BLADE_VERSION), ) - BLADE_VERSION=0.6.0 + BLADE_VERSION=0.7.0 endif BUILD_TARGET=build-target BUILD_TARGET_DIR_NAME=chaosblade-$(BLADE_VERSION) BUILD_TARGET_PKG_DIR=$(BUILD_TARGET)/chaosblade-$(BLADE_VERSION) -BUILD_TARGET_BIN=$(BUILD_TARGET_PKG_DIR)/bin +BUILD_TARGET_YAML=$(BUILD_TARGET_PKG_DIR)/yaml BUILD_TARGET_CPLUS_LIB=$(BUILD_TARGET_PKG_DIR)/lib/cplus BUILD_TARGET_CPLUS_SCRIPT=$(BUILD_TARGET_CPLUS_LIB)/script # yaml file name -CPLUS_YAML_FILE=$(BUILD_TARGET_BIN)/chaosblade-cplus-spec.yaml +CPLUS_YAML_FILE=$(BUILD_TARGET_YAML)/chaosblade-cplus-spec.yaml # agent file name CPLUS_AGENT_FILE_NAME=chaosblade-exec-cplus @@ -31,7 +31,7 @@ build: pre_build build_cplus build_yaml pre_build: rm -rf $(BUILD_TARGET_PKG_DIR) - mkdir -p $(BUILD_TARGET_BIN) $(BUILD_TARGET_CPLUS_SCRIPT) + mkdir -p $(BUILD_TARGET_YAML) $(BUILD_TARGET_CPLUS_SCRIPT) build_yaml: build/spec.go $(GO) run $< $(CPLUS_YAML_FILE)