Update messages/comments to refer the new place of the version definition (#2133)

This commit is contained in:
YAMAMOTO Takashi 2023-04-18 22:09:18 +09:00 committed by GitHub
parent 2f879862ff
commit dac86af2f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import sys
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 = "", "", ""
with open("core/version.h", encoding="utf-8") as f:

View File

@ -52,7 +52,7 @@ jobs:
#
#
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_tag=''" >> "$GITHUB_OUTPUT"
exit 1