File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 72
72
73
73
mkdir -p tmp
74
74
75
- getReleaseVersions " github.copilot" " tmp/copilot.versions.json"
76
- jq -M . tmp/copilot.versions.json > tmp/formatted
77
- cat tmp/formatted > tmp/copilot.versions.json
75
+ publisher=" AdaCore"
76
+ name=" ada"
78
77
79
- getLatestVersion " github.copilot" " tmp/copilot.latest.json"
80
- jq -M . tmp/copilot.latest.json > tmp/formatted
81
- cat tmp/formatted > tmp/copilot.latest.json
78
+ getReleaseVersions " ${publisher} .${name} " " tmp/${name} .versions.json"
79
+ jq -M . tmp/${name} .versions.json > tmp/formatted
80
+ cat tmp/formatted > tmp/${name} .versions.json
81
+
82
+ getLatestVersion " ${publisher} .${name} " " tmp/${name} .latest.json"
83
+ jq -M . tmp/${name} .latest.json > tmp/formatted
84
+ cat tmp/formatted > tmp/${name} .latest.json
82
85
83
86
rm tmp/formatted
You can’t perform that action at this time.
0 commit comments