From dac86af2f2ae8a6e59e4913020fb85edb53e3106 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 18 Apr 2023 22:09:18 +0900 Subject: [PATCH] Update messages/comments to refer the new place of the version definition (#2133) --- .github/scripts/fetch_and_compare_version.py | 2 +- .github/workflows/create_tag.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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