diff options
author | Roman Grundkiewicz <rgrundkiewicz@gmail.com> | 2022-09-02 10:16:53 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundkiewicz@gmail.com> | 2022-09-02 10:16:53 +0300 |
commit | ee76b9e0d23d019ab2b228203e346447b2dcde15 (patch) | |
tree | 6d4e80639a46e92665aa2c88e3d3a1627cf2b3fd | |
parent | 5312a306c4c0a458e29a8882ebfb42a179aaf580 (diff) |
Rename VERSION to VERSION.txtrename-version
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | VERSION.txt (renamed from VERSION) | 0 | ||||
-rwxr-xr-x | python/setup.py | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ef8af2..d214ee4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ # limitations under the License.! cmake_minimum_required(VERSION 3.1 FATAL_ERROR) -file(STRINGS "VERSION" SPM_VERSION) +file(STRINGS "VERSION.txt" SPM_VERSION) message(STATUS "VERSION: ${SPM_VERSION}") SET(SPM_ARTIFACT_NAME "sentencepiece" CACHE STRING "Default name of the \ generated artifacts. Override to avoid name conflicts.") diff --git a/python/setup.py b/python/setup.py index 1e9bf07..9551ad9 100755 --- a/python/setup.py +++ b/python/setup.py @@ -33,7 +33,7 @@ def long_description(): def version(): - with codecs.open('VERSION', 'r', 'utf-8') as f: + with codecs.open('VERSION.txt', 'r', 'utf-8') as f: version = f.read().rstrip() return version |