diff --git a/build.sh b/build.sh index dbcc441..92c2ddc 100755 --- a/build.sh +++ b/build.sh @@ -114,7 +114,7 @@ cd ../.. # only deploy with deploy command line param on master with clean working area if [ $# -gt 0 ] && [ $1 = "deploy" ] && [ "$(git symbolic-ref HEAD)" = "refs/heads/main" ] && [ -z "$(git status --porcelain)" ] then - mvn -B --settings mvnsettings.xml deploy + mvn -B -Dorg.bytedeco.javacpp.platform=$DETECTED_PLATFORM --settings mvnsettings.xml deploy else - mvn -B install + mvn -B -Dorg.bytedeco.javacpp.platform=$DETECTED_PLATFORM install fi \ No newline at end of file