Update messages/comments to refer the new place of the version definition (#2133)
This commit is contained in:
@@ -12,7 +12,7 @@ import sys
|
|||||||
|
|
||||||
def fetch_version_from_code():
|
def fetch_version_from_code():
|
||||||
"""
|
"""
|
||||||
search the semantic version definition in build-scripts/config_common.cmake
|
search the semantic version definition in core/version.h
|
||||||
"""
|
"""
|
||||||
major, minor, patch = "", "", ""
|
major, minor, patch = "", "", ""
|
||||||
with open("core/version.h", encoding="utf-8") as f:
|
with open("core/version.h", encoding="utf-8") as f:
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
if [[ -z ${new_ver} ]]; then
|
if [[ -z ${new_ver} ]]; then
|
||||||
echo "::error::please indicate the right semantic version in build-scripts/config_common.cmake"
|
echo "::error::please indicate the right semantic version in core/version.h"
|
||||||
echo "new_ver=''" >> "$GITHUB_OUTPUT"
|
echo "new_ver=''" >> "$GITHUB_OUTPUT"
|
||||||
echo "new_tag=''" >> "$GITHUB_OUTPUT"
|
echo "new_tag=''" >> "$GITHUB_OUTPUT"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user