Skip to content

Commit 5c17197

Browse files
committed
Merge branch 'do_release_builds' into origin_master
2 parents 79a2bed + 9b3a387 commit 5c17197

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packaging/windows/in-container-build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ mkdir -p win32
1414
cd win32
1515

1616
BUILD_EXTRA_ARGS="debug"
17+
SMTK2SSRF_EXTRA_ARGS="-b debug"
1718
if [[ "$1" == "-release" ]]; then
1819
BUILD_EXTRA_ARGS=""
20+
SMTK2SSRF_BUILD_EXTRA_ARGS="release"
1921
shift
2022
fi
2123

@@ -33,7 +35,7 @@ mv subsurface/"$fullname" ${OUTPUT_DIR}/"${fullname%.exe}-installer.exe"
3335

3436
bash -ex ../subsurface/packaging/windows/mxe-based-build.sh -noftdi -nolibraw ${BUILD_EXTRA_ARGS} subsurface
3537

36-
bash -ex ../subsurface/packaging/windows/smtk2ssrf-mxe-build.sh -a -i
38+
bash -ex ../subsurface/packaging/windows/smtk2ssrf-mxe-build.sh ${SMTK2SSRF_BUILD_EXTRA_ARGS} -a -i
3739

3840
# the strange two step move is in order to get predictable names to use
3941
# in the publish step of the GitHub Action

0 commit comments

Comments
 (0)