mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 23:25:55 -05:00
small release script fix
This commit is contained in:
parent
2d4e7e5878
commit
54aef17731
@ -20,7 +20,7 @@ set_latest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
version="$(git describe --dirty)"
|
version="$(git describe --dirty)"
|
||||||
if [[ ! "${version}" =~ v[0-9]+\.[0-9]+\.[0-9]+-dirty ]]; then
|
if [[ ! "${version}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
echo "Expected a vX.Y.Z version tag, got ${version}." >&2
|
echo "Expected a vX.Y.Z version tag, got ${version}." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user