diff options
Diffstat (limited to '.circleci/verbatim-sources')
-rw-r--r-- | .circleci/verbatim-sources/nightly-binary-build-defaults.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.circleci/verbatim-sources/nightly-binary-build-defaults.yml b/.circleci/verbatim-sources/nightly-binary-build-defaults.yml index 62178e385d..6f6b89dc38 100644 --- a/.circleci/verbatim-sources/nightly-binary-build-defaults.yml +++ b/.circleci/verbatim-sources/nightly-binary-build-defaults.yml @@ -124,6 +124,10 @@ binary_checkout: &binary_checkout # "smoke" binary build on master on PR merges git reset --hard "$CIRCLE_SHA1" git checkout -q -B master + else + # nightly binary builds. These run at 05:05 UTC every day. + last_commit="$(git rev-list --before "$(date +%Y-%m-%d) 05:00" --max-count 1 HEAD)" + git checkout "$last_commit" fi git submodule update --init --recursive --quiet echo "Using Pytorch from " |