From bd8ed5e679679a5f10698d1c05ee7e64c06d912f Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Thu, 6 Oct 2022 11:34:47 +0300 Subject: [PATCH] 1.99.98 --- Makefile | 3 ++- MyxCMake/MyxCMakeConfigVersion.cmake | 2 +- README.md | 5 ++--- VERSION | 2 +- debian/CMakeLists.txt | 2 +- debian/changelog | 2 +- myx_setup.cmake | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index aabc996..4f3dff9 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ PACK_DIR:=$(BUILD_DIR)/pack/myx-cmake-$(V) all: update_version deb pack update_version: - sed -i "s/VERSION/$V/" $(TOP_DIR)/README.md + sed -i "s/\/[0-9][0-9.]\+/\/$V/g" $(TOP_DIR)/README.md + sed -i "s/[0-9][0-9.]\+tar/$V.tar/g" $(TOP_DIR)/README.md sed -i "s/CMake.*REQUIRED/CMake $V REQUIRED/" $(TOP_DIR)/README.md $(TOP_DIR)/myx_setup.cmake sed -i "s/VERSION \".*\"/VERSION \"$V\"/" $(TOP_DIR)/MyxCMake/MyxCMakeConfigVersion.cmake sed -i "s/VERSION .* LANG/VERSION $V LANG/" $(TOP_DIR)/debian/CMakeLists.txt diff --git a/MyxCMake/MyxCMakeConfigVersion.cmake b/MyxCMake/MyxCMakeConfigVersion.cmake index fb9a7cf..f8edb84 100644 --- a/MyxCMake/MyxCMakeConfigVersion.cmake +++ b/MyxCMake/MyxCMakeConfigVersion.cmake @@ -1,4 +1,4 @@ -set(MYX_CMAKE_PACKAGE_VERSION "1.99.97") +set(MYX_CMAKE_PACKAGE_VERSION "1.99.98") if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) set(PACKAGE_VERSION_COMPATIBLE FALSE) else() diff --git a/README.md b/README.md index 5a84050..b3cd98e 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,8 @@ ## Установка -В корневом каталоге проекта создать каталог `cmake` и -распаковать в него архив myx-cmake-local-1.99.97.tar.xz, -который можно скачать [здесь](../../../releases). +В корневом каталоге проекта создать каталог `cmake` и распаковать в него +[архив](../../../releases/download/1.99.98/myx-cmake-local-1.99.98.tar.xz ). ## Использование diff --git a/VERSION b/VERSION index 80df324..168576e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.99.97 +1.99.98 diff --git a/debian/CMakeLists.txt b/debian/CMakeLists.txt index ef83efe..ab36233 100644 --- a/debian/CMakeLists.txt +++ b/debian/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.6 FATAL_ERROR) -project(myx-cmake VERSION 1.99.97 LANGUAGES) +project(myx-cmake VERSION 1.99.98 LANGUAGES) include(GNUInstallDirs) file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake diff --git a/debian/changelog b/debian/changelog index 67b0ff5..c4b5d84 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -myx-cmake (1.99.97) unstable; urgency=medium +myx-cmake (1.99.98) unstable; urgency=medium * New version. diff --git a/myx_setup.cmake b/myx_setup.cmake index 5175fdd..899867c 100644 --- a/myx_setup.cmake +++ b/myx_setup.cmake @@ -20,11 +20,11 @@ if(MYX_CMAKE_DIR) set(ENV{MYX_CMAKE_DIR} ${MYX_CMAKE_DIR}) endif() if(DEFINED ENV{MYX_CMAKE_DIR}) - find_package(MyxCMake 1.99.97 REQUIRED CONFIG PATHS $ENV{MYX_CMAKE_DIR} NO_DEFAULT_PATH) + find_package(MyxCMake 1.99.98 REQUIRED CONFIG PATHS $ENV{MYX_CMAKE_DIR} NO_DEFAULT_PATH) myx_message_notice("=== MyxCMake directory: ${MyxCMake_CONFIG} ===") else() if(MYX_CMAKE_USE_SYSTEM) - find_package(MyxCMake 1.99.97 REQUIRED) + find_package(MyxCMake 1.99.98 REQUIRED) myx_message_notice("=== MyxCMake directory: ${MyxCMake_CONFIG} ===") else() include(${PROJECT_SOURCE_DIR}/cmake/myx/MyxCMakeConfig.cmake)