blob: cecb7e0048325d06b59b78f428dae805462d1729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# check yawning's HEAD
available=$(curl -s https://gitlab.com/api/v4/projects/10387781/repository/tags/ | jq ".[0]".name | cut -d "-" -f 2 | cut -d "\"" -f 1)
current=$(cat scripts/obfs4-version)
echo "current:" $current
echo "available:" $available
if [ "$available" = "$current" ]; then
exit 0
else
echo "New version of upstream yawning/obfs4 available, should update deps."
exit 2
fi;
|