Skip to content

Commit

Permalink
Adjust log and README concerning project version format
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-szweda committed Oct 6, 2023
1 parent 5dec4f0 commit 9da8ede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ endif()

string(REGEX MATCH "([0-9]+)\.([0-9]+)\.([0-9]+)" _ "${PROJECT_VERSION}")
if(NOT CMAKE_MATCH_COUNT EQUAL 3)
message(FATAL_ERROR "Project version parsing failed\n Got: ${PROJECT_VERSION}")
message(FATAL_ERROR "Incorrect project version number format: ${PROJECT_VERSION}. Please provide the project version number in the format major.minor.patch")
endif()

project(
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ cmake --preset conan-debug -DTHIRDPARTY_MAKE_JOBS_COUNT=$((`nproc` / 2)) -DBUILD
cmake --build --preset conan-debug
```

`project version` must be provided in the format major.minor.patch e.g. 1.2.3

## Help & Support

eBPF Discovery is an open source project. The features are fully supported by [Dynatrace](https://www.dynatrace.com).
Expand Down

0 comments on commit 9da8ede

Please sign in to comment.