Skip to content

Commit

Permalink
Fix regex to follow release process
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober committed Jan 13, 2025
1 parent e433b0e commit 49deed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/AutoRevision.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ message(STATUS "Version tag: ${FC21_REV_TAG}")
# v3.0
# v3.0.1
if (NOT "${FC21_REV_TAG}"
MATCHES "^v[0-9]+\.[0-9]+(\.[0-9]+)?(-((((alpha)|(beta)|(rc))\.[0-9]+)|(dev)))?$")
MATCHES "^v[0-9]+\.[0-9]+\-?((alpha)|(beta)|(rc)|(dev))+\.[0-9]?$")
message(SEND_ERROR "The version tag '${FC21_REV_TAG}' does not follow the expected format.")
endif()

Expand Down
2 changes: 1 addition & 1 deletion cmake/AutoRevision.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
f5ed3
v3.2-dev.1
v3.2-dev.0

0 comments on commit 49deed1

Please sign in to comment.