ncp-update: Suppress output from fetching git tags

Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
thecalcaholic 2022-08-29 20:12:38 +02:00
parent 917ee9bbcd
commit 55c4ff7595
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -33,7 +33,7 @@
./update.sh || exit $?
cd "$TMPDIR"
git describe --always --tags --abbrev=0 2>/dev/null | grep -qoP "v\d+\.\d+\.\d+" || git fetch --unshallow --tags
git describe --always --tags --abbrev=0 2>/dev/null | grep -qoP "v\d+\.\d+\.\d+" || git fetch --unshallow --tags -q
VER=$( git describe --always --tags --abbrev=0 | grep -oP "v\d+\.\d+\.\d+" )
# check format