mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-02-19 16:22:52 +01:00
Merge pull request #1663 from greatscottgadgets/release
Release 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.2+"
|
||||
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.2+")
|
||||
set(VERSION "2026.01.3")
|
||||
else (GIT_VERSION_FOUND)
|
||||
set(VERSION "git-${GIT_VERSION}")
|
||||
endif (GIT_VERSION_FOUND)
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#define USB_PRODUCT_ID (0xFFFF)
|
||||
#endif
|
||||
|
||||
#define USB_API_VERSION (0x0109)
|
||||
#define USB_API_VERSION (0x0110)
|
||||
|
||||
#define USB_WORD(x) (x & 0xFF), ((x >> 8) & 0xFF)
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ if(NOT DEFINED RELEASE)
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if (GIT_EXIT_VALUE)
|
||||
set(RELEASE "2026.01.2+")
|
||||
set(RELEASE "2026.01.3")
|
||||
else (GIT_EXIT_VALUE)
|
||||
execute_process(
|
||||
COMMAND git status -s --untracked-files=no
|
||||
|
||||
@@ -20,7 +20,7 @@ cmake_minimum_required(VERSION 3.10.0)
|
||||
project(
|
||||
libhackrf
|
||||
LANGUAGES C
|
||||
VERSION 0.9.1)
|
||||
VERSION 0.9.2)
|
||||
include(GNUInstallDirs)
|
||||
include(${PROJECT_SOURCE_DIR}/../cmake/set_release.cmake)
|
||||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../cmake/modules)
|
||||
|
||||
Reference in New Issue
Block a user