Mercurial
view third_party/emsdk/scripts/get_release_info.py @ 282:6bd4a3990696 default tip
Add cross-platform canvas orchestration and typed composer
Enable native ARM dependencies, macOS Copilot orchestration, portable service supervision, CPU dictation, and a shared N-key speak-or-type composer.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Thu, 20 Aug 2026 20:45:25 -0700 |
| parents | 8d17f6e6e290 |
| children |
line wrap: on
line source
#!/usr/bin/env python3 import json import sys def get_latest(tagfile): with open(tagfile) as f: versions = json.load(f) print(versions['aliases']['latest']) return 0 def get_hash(tagfile, version): with open(tagfile) as f: versions = json.load(f) print(versions['releases'][version]) return 0 if __name__ == '__main__': if sys.argv[2] == 'latest': sys.exit(get_latest(sys.argv[1])) if sys.argv[2] == 'hash': sys.exit(get_hash(sys.argv[1], sys.argv[3]))