File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -126,9 +126,11 @@ jobs:
126
126
mkdir -p build/dubboctl
127
127
make build-dubbo-cp GOOS=${GOOS} GOARCH=${GOARCH} GIT_VERSION=${GIT_VERSION}
128
128
make build-dubboctl GOOS=${GOOS} GOARCH=${GOARCH} GIT_VERSION=${GIT_VERSION}
129
+ make build-sample GOOS=${GOOS} GOARCH=${GOARCH} GIT_VERSION=${GIT_VERSION}
129
130
cp README.md LICENSE build/
130
131
mv bin/dubbo-cp* build/dubbo-cp/
131
132
mv bin/dubboctl* build/dubboctl/
133
+ mv bin/samples* build/
132
134
ls -ln build/dubboctl/ ; ls -ln build/dubbo-cp/ ; ls -ln build/
133
135
134
136
- name : Dubboctl Rename windows
@@ -190,7 +192,6 @@ jobs:
190
192
cp build/dubbo-cp/dubbo-cp ${DIRNAME}/bin/
191
193
cp build/README.md build/LICENSE ${DIRNAME}
192
194
cp build/dubbo-cp/dubbo-cp.yaml ${DIRNAME}
193
- cp -r ../samples/ ${DIRNAME}/samples
194
195
ls -Rlh ${DIRNAME}
195
196
if [ "${{ matrix.goos }}" = "windows" ]; then
196
197
zip -r ${FILENAME}.zip ${DIRNAME}
Original file line number Diff line number Diff line change @@ -25,4 +25,8 @@ build-dubbo-cp:
25
25
build-dubboctl :
26
26
CGO_ENABLED=0 GOOS=$(GOOS ) GOARCH=$(GOARCH ) go build \
27
27
-ldflags " -X github.com/apache/dubbo-kubernetes/pkg/version.gitTag=$( GIT_VERSION) " \
28
- -o bin/dubboctl dubboctl/main.go
28
+ -o bin/dubboctl dubboctl/main.go
29
+
30
+ .PHONY : build-sample
31
+ clone-sample :
32
+ cp -r samples bin/samples
You can’t perform that action at this time.
0 commit comments