set version to 2022.09.1
Some checks failed
Build / host (ubuntu-latest) (push) Failing after 10s
Build / firmware (HACKRF_ONE, ubuntu-latest) (push) Failing after 21s
Build / firmware (JAWBREAKER, ubuntu-latest) (push) Failing after 21s
Build / firmware (RAD1O, ubuntu-latest) (push) Failing after 29s
Check code style / clang-format (push) Failing after 18s
Check code style / clang-format-1 (push) Failing after 21s
Check code style / clang-format-2 (push) Failing after 13s
Check code style / clang-format-3 (push) Failing after 12s
Build / firmware (HACKRF_ONE, macos-latest) (push) Has been cancelled
Build / firmware (JAWBREAKER, macos-latest) (push) Has been cancelled
Build / firmware (RAD1O, macos-latest) (push) Has been cancelled
Build / host (macos-latest) (push) Has been cancelled
Some checks failed
Build / host (ubuntu-latest) (push) Failing after 10s
Build / firmware (HACKRF_ONE, ubuntu-latest) (push) Failing after 21s
Build / firmware (JAWBREAKER, ubuntu-latest) (push) Failing after 21s
Build / firmware (RAD1O, ubuntu-latest) (push) Failing after 29s
Check code style / clang-format (push) Failing after 18s
Check code style / clang-format-1 (push) Failing after 21s
Check code style / clang-format-2 (push) Failing after 13s
Check code style / clang-format-3 (push) Failing after 12s
Build / firmware (HACKRF_ONE, macos-latest) (push) Has been cancelled
Build / firmware (JAWBREAKER, macos-latest) (push) Has been cancelled
Build / firmware (RAD1O, macos-latest) (push) Has been cancelled
Build / host (macos-latest) (push) Has been cancelled
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.
This commit is contained in:
parent
0afc9857e4
commit
b6acd66cfe
2 changed files with 2 additions and 5 deletions
|
|
@ -52,7 +52,6 @@ ExternalProject_Add(libopencm3_${PROJECT_NAME}
|
|||
INSTALL_COMMAND ""
|
||||
)
|
||||
|
||||
#set(VERSION "")
|
||||
if (NOT DEFINED VERSION)
|
||||
execute_process(
|
||||
COMMAND git log -n 1 --format=%h
|
||||
|
|
@ -63,7 +62,7 @@ if (NOT DEFINED VERSION)
|
|||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if (GIT_VERSION_FOUND)
|
||||
set(VERSION "unknown")
|
||||
set(VERSION "2022.09.1")
|
||||
else (GIT_VERSION_FOUND)
|
||||
set(VERSION "git-${GIT_VERSION}")
|
||||
endif (GIT_VERSION_FOUND)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#set(RELEASE "")
|
||||
|
||||
if(NOT DEFINED RELEASE)
|
||||
execute_process(
|
||||
COMMAND git log -n 1 --format=%h
|
||||
|
|
@ -10,7 +8,7 @@ if(NOT DEFINED RELEASE)
|
|||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if (GIT_EXIT_VALUE)
|
||||
set(RELEASE "unknown")
|
||||
set(RELEASE "2022.09.1")
|
||||
else (GIT_EXIT_VALUE)
|
||||
execute_process(
|
||||
COMMAND git status -s --untracked-files=no
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue