Skip to content

Commit

Permalink
chore: update version to 1.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: tiny-x <[email protected]>
  • Loading branch information
tiny-x committed May 31, 2021
1 parent 91724c9 commit 391a4b5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GO_FLAGS=-ldflags="-s -w"
UNAME := $(shell uname)

ifeq ($(BLADE_VERSION), )
BLADE_VERSION=1.1.0
BLADE_VERSION=1.2.0
endif

BUILD_TARGET=target
Expand All @@ -31,9 +31,9 @@ endif


# build os
build: pre_build build_yaml build_osbin
build: pre_build build_yaml build_osbin build_os

build_darwin: pre_build build_yaml build_osbin_darwin
build_darwin: pre_build build_yaml build_osbin_darwin build_os

pre_build:
rm -rf $(BUILD_TARGET_PKG_DIR) $(BUILD_TARGET_PKG_FILE_PATH)
Expand Down Expand Up @@ -102,6 +102,9 @@ build_kernel_delay: exec/bin/kernel/delay/delay.go
build_kernel_error: exec/bin/kernel/error/error.go
$(GO) build $(GO_FLAGS) -o $(BUILD_TARGET_BIN)/chaos_straceerror $<

build_os: main.go
$(GO) build $(GO_FLAGS) -o $(BUILD_TARGET_BIN)/chaos_os $<

cp_strace:
cp extra/strace $(BUILD_TARGET_BIN)/

Expand Down
6 changes: 1 addition & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.13

require (
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
github.com/chaosblade-io/chaosblade-spec-go v1.2.0-dev
github.com/chaosblade-io/chaosblade-spec-go v1.0.1-0.20210531022335-b8bb425f7cb9
github.com/containerd/cgroups v0.0.0-20191011165608-5fbad35c2a7e
github.com/go-ole/go-ole v1.2.5 // indirect
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c
Expand All @@ -14,7 +14,3 @@ require (
go.uber.org/automaxprocs v1.3.0
golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975
)

replace (
github.com/chaosblade-io/chaosblade-spec-go => /Users/Shared/ChaosBladeProjects/chaosblade-opensource/chaosblade-spec-go
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/chaosblade-io/chaosblade-spec-go v1.0.1-0.20210531022335-b8bb425f7cb9 h1:wj67ONA6033YRlqH17vBZ8bp5O41HZLaFtnSVo4uVCE=
github.com/chaosblade-io/chaosblade-spec-go v1.0.1-0.20210531022335-b8bb425f7cb9/go.mod h1:xUF+8r54FphQjBR8fVPnweVqzu7EitE15UsnZ57O5gk=
github.com/chaosblade-io/chaosblade-spec-go v1.2.0-dev h1:tdMjw1FXo9IAzBC2eNcUsBhr8bIgoFcp2TPmIZG8TTU=
github.com/chaosblade-io/chaosblade-spec-go v1.2.0-dev/go.mod h1:xUF+8r54FphQjBR8fVPnweVqzu7EitE15UsnZ57O5gk=
github.com/containerd/cgroups v0.0.0-20191011165608-5fbad35c2a7e h1:3bt+8T1I/CuYx+a5ww32+UT4fc9x8iRiXrhfduFTlBU=
Expand Down

0 comments on commit 391a4b5

Please sign in to comment.