Last active
May 3, 2021 19:29
-
-
Save yamachu/963a73b3d87a0899609e201358a66052 to your computer and use it in GitHub Desktop.
VSCodeのcommitのhistoryからリリースされたっぽそうなやつを引っ張るやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
seq 1 10| xargs -I{} gh api -X GET repos/microsoft/vscode/commits -f q='sha:master' -f per_page=100 -f page={} --jq '.[].sha'|xargs -I{} gh api -X GET repos/microsoft/vscode/commits/{}/check-runs -f app_id=9426 --jq '.check_runs[] | { sha: .head_sha, name: .name}' | |
<<EOF | |
{"name":"VS Code (Release Release Build)","sha":"a348d103d1256a06a2c9b3f9b406298a9fef6898"} | |
{"name":"VS Code (Release Release Build)","sha":"0123d26aaa393bccf99f31f1eac07df6c9e218ce"} | |
{"name":"VS Code (Release Release Build)","sha":"19cda32aafccb88db45622e7ae9be90cb71c9744"} | |
{"name":"VS Code (Release Release Build)","sha":"724172d1349f1bdf0289baa59204cb54128d78ae"} | |
{"name":"VS Code (Release Release Build)","sha":"5080d21c0b538b996c83fb7b14a746f656eaef15"} | |
{"name":"VS Code (Release Release Build)","sha":"633562da380f9161ea2fd783e561eed508cfbbea"} | |
{"name":"VS Code (Release Release Build)","sha":"0310f02dc5d834bb3a7cc421ea5374aec8d011f1"} | |
{"name":"VS Code (Release Release Build)","sha":"7ce1499d9541ba2acf66cd30a9054bd7818a8f80"} | |
{"name":"VS Code (Release Release Build)","sha":"fd88b56ab91ed7f6a43ae98a010fa098226db636"} | |
{"name":"VS Code (Release Release Build)","sha":"034157dea8186579c681284409e1ee638e74d3e2"} | |
{"name":"VS Code (Release Release Build)","sha":"e350c258dbe39acc0e862d6fbe5c0a718f325041"} | |
{"name":"VS Code (Release Release Build)","sha":"3668a573adf3585d7733791069e1c59db3142cb3"} | |
{"name":"VS Code (Release Release Build)","sha":"23a2409675bc1bde94f3532bc7c5826a6e99e4b6"} | |
{"name":"VS Code (Release Release Build)","sha":"b4816cfd1f4161a3bb272354d181a9947760ee26"} | |
{"name":"VS Code (Release Release Build)","sha":"8aff878db2542eea2dfb571c8bb485118bbb3113"} | |
{"name":"VS Code (Release Release Build)","sha":"25785b97e533b15ae3b12e48aaf4187416437e62"} | |
{"name":"VS Code (Release Release Build)","sha":"94d369e27d19f598228961e9feb0413f2edabe5d"} | |
{"name":"VS Code (Release Release Build)","sha":"48387dfc3d691558404cff1ea2582e3862a40080"} | |
{"name":"VS Code (Release Release Build)","sha":"01466cf692c3e54f0eeb82ef0539a42391f185de"} | |
{"name":"VS Code (Release Release Build)","sha":"845efe5d8e31079cc858131c95c36103d9439e74"} | |
{"name":"VS Code (Release Release Build)","sha":"08c3c088ba8e0dfaf9b6c9df64e33d6176070752"} | |
{"name":"VS Code (Release Release Build)","sha":"5904b7b686e9274631893d560fdbc55a5567f878"} | |
{"name":"VS Code (Release Release Build)","sha":"30dcb112b46595657695d14c2cd6a37f783fbed2"} | |
{"name":"VS Code (Release Release Build)","sha":"550035808407c15252e581e8abe1b820b9d311ee"} | |
{"name":"VS Code (Release Release Build)","sha":"0640cdeb8ba34f2f00cf4de73783632c4a692c52"} | |
{"name":"VS Code (Release Release Build)","sha":"c18893214c293ba48d10502c123a6b3aad8dd1e0"} | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$x('//*[@id="repo-content-pjax-container"]/div[*]/div[*]/div[*]/ol/li[*]/div[*]/div/div[*]/details/div/div/div[*]/div[*]/div[*][@title="Release Release Build succeeded"]').map(x => x.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.dataset.url.split("_render_node")[0]).map(s => `https://github.com${s}`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment