Suppress error message on `git describe` failure

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign 2025-01-12 20:25:32 -03:00
parent 27fb2bbe3a
commit 0ae50eab87
No known key found for this signature in database
GPG Key ID: AE3C7FC910687F33
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ compare_local_version_to_git_version() {
if git status &> /dev/null; then
# The current version the user is on
local local_version
local_version=$(git describe --tags --abbrev=0);
local_version=$(git describe --tags --abbrev=0 2>&1);
# What branch they are on
local local_branch
local_branch=$(git rev-parse --abbrev-ref HEAD);