Skip to content

Commit d2f3365

Browse files
Added script to list latest pangolin releases
1 parent 56d450a commit d2f3365

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pangolin/getreleases.sh

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
for REPO in pangolin pangoLEARN scorpio constellations pango-designation
4+
do
5+
RELEASE=$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/cov-lineages/$REPO/releases | jq '.[0].tag_name')
6+
echo $REPO ":" $RELEASE
7+
done
8+
9+
for REPO in nextclade
10+
do
11+
RELEASE=$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/nextstrain/$REPO/releases | jq '.[0].tag_name')
12+
echo $REPO ":" $RELEASE
13+
done

0 commit comments

Comments
 (0)