Skip to content

Commit

Permalink
Merge pull request #4 from scipopt/prep-v100
Browse files Browse the repository at this point in the history
Prepare release of version 1.0.0
  • Loading branch information
hedtke authored Aug 9, 2023
2 parents c78e798 + 207645a commit 485a17f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
8 changes: 5 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 2 additions & 8 deletions conanfile.py
Original file line number Diff line number Diff line change
@@ -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):
Expand All @@ -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)
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 485a17f

Please sign in to comment.