check_ci_tagΒΆ

project(foo VERSION 1.0.0)

hunter_add_package(check_ci_tag)
find_package(check_ci_tag CONFIG REQUIRED)

# Read environment variables like TRAVIS_TAG/APPVEYOR_REPO_TAG_NAME
# and check they match PROJECT_VERSION
check_ci_tag()