File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,16 @@ while ("${PADDLE_VERSION}" STREQUAL "")
23
23
if (${GIT_BRANCH_NAME} MATCHES "release/${TAG_VERSION_REGEX} " )
24
24
# Check the tag is a correct version
25
25
if (${GIT_TAG_NAME} MATCHES "${COMMIT_VERSION_REGEX} " )
26
- # if no tag was found, set PADDLE_VERSION to latest
27
- set (PADDLE_VERSION "latest " )
26
+ # if no tag was found, set PADDLE_VERSION to 0.0.0 to represent latest
27
+ set (PADDLE_VERSION "0.0.0 " )
28
28
elseif (${GIT_TAG_NAME} MATCHES "v${TAG_VERSION_REGEX} " )
29
29
string (REPLACE "v" "" PADDLE_VERSION ${GIT_TAG_NAME} )
30
30
else () # otherwise, get the previous git tag name.
31
31
set (tmp_version "${GIT_TAG_NAME} ~1" )
32
32
endif ()
33
- else () # otherwise, we always set PADDLE_VERSION to latest
34
- set (PADDLE_VERSION "latest" )
33
+ else ()
34
+ # otherwise, we always set PADDLE_VERSION to 0.0.0 to represent latest
35
+ set (PADDLE_VERSION "0.0.0" )
35
36
endif ()
36
37
else ()
37
38
set (PADDLE_VERSION "0.0.0" )
You can’t perform that action at this time.
0 commit comments