Skip to content

Commit 0c0dabc

Browse files
committed
DOC: Set doc build CI's epoch to date of last tag.
This should reduce the differences between doc builds a little bit, and though we do throw away commits to update devdocs, it might save a little bit in git internally.
1 parent a233549 commit 0c0dabc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ mpl-run: &mpl-install
6363
doc-run: &doc-build
6464
name: Build documentation
6565
command: |
66+
# Set epoch to date of latest tag.
67+
export SOURCE_DATE_EPOCH="$(git log -1 --format=%at $(git describe --abbrev=0))"
6668
make html O=-T
6769
rm -r build/html/_sources
6870
working_directory: doc

0 commit comments

Comments
 (0)