From 36b163100961446e1081de9cc5755c4bea8f535a Mon Sep 17 00:00:00 2001 From: Ivo Hedtke Date: Wed, 9 Aug 2023 15:55:24 +0200 Subject: [PATCH 1/2] Prepare release of version 1.0.0 --- changelog.md | 8 +++++--- conanfile.py | 10 ++-------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/changelog.md b/changelog.md index 42521f3d..2fe3cf32 100644 --- a/changelog.md +++ b/changelog.md @@ -4,8 +4,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - [Doc:Unreleased] -## [1.0.0] - 2023-07-XX +## [1.0.0] - 2023-08-09 -[Doc:Unreleased]: TODOURLGITHUBPAGES +Initial release + +[Doc:Unreleased]: https://scipopt.github.io/SCIPpp/ [Unreleased]: https://github.com/scipopt/SCIPpp -[1.0.0]: TODOURLRELEASE100 +[1.0.0]: https://github.com/scipopt/SCIPpp/releases/tag/1.0.0 diff --git a/conanfile.py b/conanfile.py index 2be9946a..0efe5dd6 100644 --- a/conanfile.py +++ b/conanfile.py @@ -1,6 +1,5 @@ from conan import ConanFile from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout -from conan.tools.scm import Git class ScipPlusPlus(ConanFile): @@ -14,15 +13,10 @@ class ScipPlusPlus(ConanFile): default_options = { "with_tests": False, } - _full_version: str = None + _full_version: str = "1.0.0" def set_version(self): - git = Git(self, folder=self.recipe_folder) - try: - self._full_version = git.run("describe --tags --dirty=-d").strip() - self.version = self._full_version.split('-')[0] - except: - self.version = "0.0.0" + self.version = self._full_version def layout(self): cmake_layout(self) From 207645a810cbe5fdf9b4cd014aea1979d773b89f Mon Sep 17 00:00:00 2001 From: Ivo Hedtke Date: Wed, 9 Aug 2023 16:00:02 +0200 Subject: [PATCH 2/2] Add Conan badge --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 40f67739..6291dc7c 100644 --- a/readme.md +++ b/readme.md @@ -3,6 +3,7 @@ ![CI Status](https://github.com/scipopt/SCIPpp/actions/workflows/main.yml/badge.svg) [![Coverage](https://img.shields.io/codecov/c/github/scipopt/SCIPpp)](https://app.codecov.io/github/scipopt/SCIPpp) [![Doxygen](https://img.shields.io/badge/documentation-Doxygen-blue)](https://scipopt.github.io/SCIPpp/) +[![Conan Center](https://img.shields.io/conan/v/scippp)](https://conan.io/center/recipes/scippp) SCIP++ is a C++ wrapper for SCIP's C interface. It automatically manages the memory, and provides a simple interface to create linear expressions and inequalities.