File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,6 @@ build-local-linux: ## Build kusion tool chain for linux
202202 -rm -f ./pkg/version/z_update_version.go
203203 -rm -rf ./_build/bundles/kusion-linux
204204 mkdir -p ./_build/bundles/kusion-linux/bin
205- mkdir -p ./_build/bundles/kusion-linux/kclvm/bin
206205
207206 # Update version
208207 go generate ./pkg/version
@@ -253,6 +252,10 @@ build-local-ubuntu-all: build-local-linux ## Build kusion & kcl tool chain for
253252
254253 # Copy README.md
255254 cp ./README.md ./_build/bundles/kusion-ubuntu
255+
256+ # Copy kusion
257+ cp -r ./_build/bundles/kusion-linux/bin ./_build/bundles/kusion-ubuntu
258+
256259 # Build tgz
257260 cd ./_build/bundles/kusion-ubuntu && tar -zcvf ../kusion-ubuntu.tgz .
258261 cd ./_build/bundles && go run ../../scripts/md5file/main.go kusion-ubuntu.tgz > kusion-ubuntu.tgz.md5.txt
@@ -293,6 +296,10 @@ build-local-centos-all: build-local-linux ## Build kusion & kcl tool chain for
293296
294297 # Copy README.md
295298 cp ./README.md ./_build/bundles/kusion-centos
299+
300+ # Copy kusion
301+ cp -r ./_build/bundles/kusion-linux/bin ./_build/bundles/kusion-centos
302+
296303 # Build tgz
297304 cd ./_build/bundles/kusion-centos && tar -zcvf ../kusion-centos.tgz .
298305 cd ./_build/bundles && go run ../../scripts/md5file/main.go kusion-centos.tgz > kusion-centos.tgz.md5.txt
You can’t perform that action at this time.
0 commit comments