Skip to content

Commit

Permalink
Debug readthedocs git
Browse files Browse the repository at this point in the history
  • Loading branch information
KolinGuo committed Apr 4, 2024
1 parent 02349d1 commit 64ce1d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/get_wheel_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def get_action_artifact(
.strip()
.decode("ascii")
)
# FIXME: remove
git_hash = "02349d1c0d4ad9dad201f9ab9cd9b09593d5a55d"
except subprocess.CalledProcessError as e:
raise RuntimeError("can't get git hash") from e

Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
project = "mplib"
author = "Minghua Liu, Jiayuan Gu, Kolin Guo, Xinsong Lin"
copyright = f"2021-2024, {author}. All rights reserved."
print("git describe:", os.popen("git describe --abbrev=8 --tags").read().strip())
release = "+git.".join(
re.findall(
"^v(.*)-[0-9]+-g(.*)", os.popen("git describe --abbrev=8 --tags").read().strip()
Expand Down

0 comments on commit 64ce1d2

Please sign in to comment.