File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ pushd lib
20
20
libname=libxgboost4j_linux_arm64_${BUILDKITE_COMMIT} .so
21
21
mv -v libxgboost4j.so ${libname}
22
22
buildkite-agent artifact upload ${libname}
23
- # if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
24
- # then
23
+ if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
24
+ then
25
25
aws s3 cp ${libname} \
26
26
s3://xgboost-nightly-builds/${BRANCH_NAME} /libxgboost4j/ \
27
27
--acl public-read --no-progress
28
- # fi
28
+ fi
29
29
popd
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ pushd lib
20
20
libname=libxgboost4j_linux_x86_64_${BUILDKITE_COMMIT} .so
21
21
mv -v libxgboost4j.so ${libname}
22
22
buildkite-agent artifact upload ${libname}
23
- # if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
24
- # then
23
+ if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
24
+ then
25
25
aws s3 cp ${libname} \
26
26
s3://xgboost-nightly-builds/${BRANCH_NAME} /libxgboost4j/ \
27
27
--acl public-read --no-progress
28
- # fi
28
+ fi
29
29
popd
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ pushd lib
31
31
libname=libxgboost4j_m1_${BUILDKITE_COMMIT} .dylib
32
32
mv -v libxgboost4j.dylib ${libname}
33
33
buildkite-agent artifact upload ${libname}
34
- # if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
35
- # then
34
+ if [[ ($is_pull_request == 0) && ($is_release_branch == 1) ]]
35
+ then
36
36
aws s3 cp ${libname} \
37
37
s3://xgboost-nightly-builds/${BRANCH_NAME} /libxgboost4j/ \
38
38
--acl public-read --no-progress
39
- # fi
39
+ fi
40
40
popd
41
41
set +x
You can’t perform that action at this time.
0 commit comments