Skip to content

Commit

Permalink
version: Don't validate version string
Browse files Browse the repository at this point in the history
Our naming scheme is incompatible with what PX4 offers, so we're disabling their validation for now.
  • Loading branch information
sfalexrog committed Dec 24, 2019
1 parent 3abf9aa commit a226c5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/version/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ if(NOT IS_DIRECTORY "${git_dir_path}")
endif()

set(px4_git_ver_header ${CMAKE_CURRENT_BINARY_DIR}/build_git_version.h)
# FIXME: Our tag format is not valid by PX4 standards, remove it for the time being
add_custom_command(OUTPUT ${px4_git_ver_header}
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/px_update_git_header.py ${px4_git_ver_header} --validate
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/px_update_git_header.py ${px4_git_ver_header}
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/px_update_git_header.py
${git_dir_path}/HEAD
Expand Down

0 comments on commit a226c5c

Please sign in to comment.