Skip to content

Commit b6acd66

Browse files
committed
set version to 2022.09.1
Starting with this release we will no longer use "unknown" as the default software version string used in cases where the version cannot be determined from context. Instead we commit the release version string to git so that any software built from the tagged commit will have the appropriate release version string. After the release we will commit a post-release version string as the new default. We will continue to use the commit hash as version string when the software is built inside a git repository.
1 parent 0afc985 commit b6acd66

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

firmware/hackrf-common.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ ExternalProject_Add(libopencm3_${PROJECT_NAME}
5252
INSTALL_COMMAND ""
5353
)
5454

55-
#set(VERSION "")
5655
if (NOT DEFINED VERSION)
5756
execute_process(
5857
COMMAND git log -n 1 --format=%h
@@ -63,7 +62,7 @@ if (NOT DEFINED VERSION)
6362
OUTPUT_STRIP_TRAILING_WHITESPACE
6463
)
6564
if (GIT_VERSION_FOUND)
66-
set(VERSION "unknown")
65+
set(VERSION "2022.09.1")
6766
else (GIT_VERSION_FOUND)
6867
set(VERSION "git-${GIT_VERSION}")
6968
endif (GIT_VERSION_FOUND)

host/cmake/set_release.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#set(RELEASE "")
2-
31
if(NOT DEFINED RELEASE)
42
execute_process(
53
COMMAND git log -n 1 --format=%h
@@ -10,7 +8,7 @@ if(NOT DEFINED RELEASE)
108
OUTPUT_STRIP_TRAILING_WHITESPACE
119
)
1210
if (GIT_EXIT_VALUE)
13-
set(RELEASE "unknown")
11+
set(RELEASE "2022.09.1")
1412
else (GIT_EXIT_VALUE)
1513
execute_process(
1614
COMMAND git status -s --untracked-files=no

0 commit comments

Comments
 (0)