Remove Intel mac CircleCI configuration (#1409)

Also switch bazel-mac to the arm64 config.
The CircleCI Intel mac config will be turned down soon.
This commit is contained in:
Derek Schuff
2024-06-20 16:16:05 -07:00
committed by GitHub
parent 0e8c5bb1e3
commit 4b9e83d629
4 changed files with 35 additions and 34 deletions

25
scripts/get_release_info.py Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env python3
import json
import os
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]))