MCPcopy Create free account
hub / github.com/HumbleUI/JWM / parse_sha

Function parse_sha

script/build_utils.py:27–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 return ref[len('refs/tags/'):]
26
27def parse_sha() -> str:
28 sha = get_arg("sha") or os.getenv('GITHUB_SHA')
29 if sha:
30 return sha[:10]
31
32def release_notes(version: str):
33 with open('CHANGELOG.md', 'r') as f:

Callers

nothing calls this directly

Calls 1

get_argFunction · 0.85

Tested by

no test coverage detected