tools/release: Fix java publish
This commit is contained in:
@@ -67,8 +67,9 @@ function publish_java() {
|
||||
command -v gpg
|
||||
command -v gpg | xargs echo "gpg: " | tee -a build.log
|
||||
|
||||
echo -n "Publish Java..." | tee -a publish.log
|
||||
make publish_java_runtime -l 4 UNIX_PYTHON_VER=3.9
|
||||
echo -n "Publish native Java..." | tee -a publish.log
|
||||
|
||||
cmake --build temp_java --target java_native_deploy -v
|
||||
echo "DONE" | tee -a publish.log
|
||||
|
||||
echo "${ORTOOLS_BRANCH} ${ORTOOLS_SHA1}" > "${ROOT_DIR}/export/java_publish"
|
||||
|
||||
@@ -64,8 +64,9 @@ function publish_java() {
|
||||
command -v gpg
|
||||
command -v gpg | xargs echo "gpg: " | tee -a publish.log
|
||||
|
||||
echo -n "Publish Java..." | tee -a publish.log
|
||||
make publish_java_runtime -l 4 UNIX_PYTHON_VER=3.9
|
||||
echo -n "Publish native Java..." | tee -a publish.log
|
||||
|
||||
cmake --build temp_java --target java_native_deploy -v
|
||||
echo "DONE" | tee -a publish.log
|
||||
|
||||
echo "${ORTOOLS_BRANCH} ${ORTOOLS_SHA1}" > "${ROOT_DIR}/export/java_publish"
|
||||
|
||||
@@ -52,7 +52,7 @@ function publish_delivery() {
|
||||
cd "${RELEASE_DIR}" || exit 2
|
||||
|
||||
# Build delivery
|
||||
docker build --tag ortools:linux_delivery \
|
||||
docker build --tag ortools/linux_delivery:"publish_${ORTOOLS_DELIVERY}" \
|
||||
--build-arg ORTOOLS_GIT_BRANCH="${ORTOOLS_BRANCH}" \
|
||||
--build-arg ORTOOLS_GIT_SHA1="${ORTOOLS_SHA1}" \
|
||||
--build-arg ORTOOLS_TOKEN="${ORTOOLS_TOKEN}" \
|
||||
|
||||
Reference in New Issue
Block a user