Skip to content

Commit

Permalink
Final regex change
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober committed Jan 20, 2025
1 parent a0f71a0 commit 2c5e3db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/AutoRevision.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ message(STATUS "Version tag: ${FC21_REV_TAG}")
# v3.0-alpha.1
# v3.0-beta.1
# v3.0-rc.1
# v3.0-patch.1
# v3.0
# v3.0.1
if (NOT "${FC21_REV_TAG}"
MATCHES "^v[0-9]+\.[0-9]+\-?((dev)|(alpha)|(beta)|(rc)|(patch))+\.[0-9]?$")
MATCHES "v[0-9]+\.[0-9]+(\.[0-9]+)?(-((dev)|(alpha)|(beta)|(rc)|(patch))\.[0-9]+)?$")
message(SEND_ERROR "The version tag '${FC21_REV_TAG}' does not follow the expected format.")
endif()

Expand Down

0 comments on commit 2c5e3db

Please sign in to comment.