diff --git a/.github/scripts/fetch_and_compare_version.py b/.github/scripts/fetch_and_compare_version.py index 913cb1aa..ac206cad 100644 --- a/.github/scripts/fetch_and_compare_version.py +++ b/.github/scripts/fetch_and_compare_version.py @@ -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: diff --git a/.github/workflows/create_tag.yml b/.github/workflows/create_tag.yml index 01dd8f16..3a145bf0 100644 --- a/.github/workflows/create_tag.yml +++ b/.github/workflows/create_tag.yml @@ -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