mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-02-19 16:22:52 +01:00
Set version to 2026.01.3+
This commit is contained in:
@@ -1219,7 +1219,7 @@ def get_version():
|
||||
version = subprocess.run(["git", "log", "-n" "1", "--format=%h"],
|
||||
capture_output=True, encoding="utf-8", timeout=TIMEOUT)
|
||||
if version.returncode != 0:
|
||||
return "2026.01.3"
|
||||
return "2026.01.3+"
|
||||
elif version.returncode == 0:
|
||||
dirty = subprocess.run(["git", "status", "-s", "--untracked-files=no"],
|
||||
capture_output=True, encoding="utf-8", timeout=TIMEOUT)
|
||||
|
||||
@@ -64,7 +64,7 @@ if (NOT DEFINED VERSION)
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if (GIT_VERSION_FOUND)
|
||||
set(VERSION "2026.01.3")
|
||||
set(VERSION "2026.01.3+")
|
||||
else (GIT_VERSION_FOUND)
|
||||
set(VERSION "git-${GIT_VERSION}")
|
||||
endif (GIT_VERSION_FOUND)
|
||||
|
||||
@@ -8,7 +8,7 @@ if(NOT DEFINED RELEASE)
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if (GIT_EXIT_VALUE)
|
||||
set(RELEASE "2026.01.3")
|
||||
set(RELEASE "2026.01.3+")
|
||||
else (GIT_EXIT_VALUE)
|
||||
execute_process(
|
||||
COMMAND git status -s --untracked-files=no
|
||||
|
||||
Reference in New Issue
Block a user