build: add version check to make_nightly_build
This commit is contained in:
parent
d611f74cfb
commit
0006a056db
1 changed files with 9 additions and 0 deletions
|
@ -46,6 +46,15 @@ last_nightly_version=$(curl -s "https://api.github.com/repos/$repo/releases/late
|
|||
exit 1
|
||||
}
|
||||
|
||||
local_version="$(git --git-dir $BASEDIR/.git describe)"
|
||||
if [ "$local_version" == "$last_nightly_version" ] ; then
|
||||
echo "$title is already at version $last_nightly_version"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "building $title version $local_version..."
|
||||
echo
|
||||
echo running tests...
|
||||
|
||||
./zig build test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue