Skip to content

Commit 68be688

Browse files
committed
use the remote branch to build C-SDK if set
1 parent ed57302 commit 68be688

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/ziti-builder.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ function set_workspace(){
7373
--env "VCPKG_DEFAULT_BINARY_CACHE=${WORKSPACE}/.cache" \
7474
--env "TLSUV_TLSLIB" \
7575
--env "ZITI_SDK_DIR" \
76+
--env "ZITI_SDK_VERSION" \
7677
"openziti/ziti-builder:${ZITI_BUILDER_TAG:-latest}" \
7778
"${WORKSPACE}/${SCRIPTSDIR}/${BASENAME}" "${@}"
7879
fi
@@ -128,6 +129,7 @@ function main() {
128129
-DBUILD_DIST_PACKAGES="${BUILD_DIST_PACKAGES:-OFF}" \
129130
"${TLSUV_TLSLIB:+-DTLSUV_TLSLIB=${TLSUV_TLSLIB}}" \
130131
"${ZITI_SDK_DIR:+-DZITI_SDK_DIR=${ZITI_SDK_DIR}}" \
132+
"${ZITI_SDK_VERSION:+-DZITI_SDK_VERSION=${ZITI_SDK_VERSION}}" \
131133
-S . \
132134
-B ./build \
133135
"${CMAKE_EXTRA_ARGS:-}"

0 commit comments

Comments
 (0)