Skip to content

Commit bafff5d

Browse files
fix the missing bundle and archive cmd for release-examples (#33)
1 parent a0e7194 commit bafff5d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,12 @@ case "${cmd}" in
322322
PRESET="${OS_TYPE}-debug-examples"
323323
configure
324324
build
325+
if [[ "${DO_BUNDLE}" == "1" ]]; then
326+
install_bundle
327+
if [[ "${DO_ARCHIVE}" == "1" ]]; then
328+
archive_bundle
329+
fi
330+
fi
325331
;;
326332
release)
327333
BUILD_TYPE="Release"
@@ -342,6 +348,12 @@ case "${cmd}" in
342348
PRESET="${OS_TYPE}-release-examples"
343349
configure
344350
build
351+
if [[ "${DO_BUNDLE}" == "1" ]]; then
352+
install_bundle
353+
if [[ "${DO_ARCHIVE}" == "1" ]]; then
354+
archive_bundle
355+
fi
356+
fi
345357
;;
346358
clean)
347359
clean

0 commit comments

Comments
 (0)