Skip to content

Commit

Permalink
Increment version to 0.2.3-dev (#72)
Browse files Browse the repository at this point in the history
* Increment version to 0.2.3-dev

* Add 0.2.3 section to changelog
  • Loading branch information
Mandrenkov authored Nov 24, 2021
1 parent eba69f2 commit c74fd61
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## Release 0.2.3 (development release)

## Release 0.2.2 (current release)

### New features since last release
Expand Down
4 changes: 2 additions & 2 deletions include/jet/Version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ constexpr size_t MAJOR_VERSION = 0;
constexpr size_t MINOR_VERSION = 2;

/// Patch version number of Jet.
constexpr size_t PATCH_VERSION = 2;
constexpr size_t PATCH_VERSION = 3;

/**
* @brief Returns the current Jet version.
Expand All @@ -23,6 +23,6 @@ std::string Version()
const auto major = std::to_string(MAJOR_VERSION);
const auto minor = std::to_string(MINOR_VERSION);
const auto patch = std::to_string(PATCH_VERSION);
return major + "." + minor + "." + patch;
return major + "." + minor + "." + patch + "-dev";
}
} // namespace Jet
2 changes: 1 addition & 1 deletion python/tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class TestVersion:
def test_attribute(self):
"""Tests that the version attribute has the correct form."""
semver_pattern = re.compile(r"^\d+\.\d+\.\d+$")
semver_pattern = re.compile(r"^\d+\.\d+\.\d+(-\S+)?$")
assert semver_pattern.match(jet.__version__)

def test_function(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def build_extension(self, ext):
major = re.search(r"MAJOR_VERSION\s*=\s*(\d+)", contents).group(1)
minor = re.search(r"MINOR_VERSION\s*=\s*(\d+)", contents).group(1)
patch = re.search(r"PATCH_VERSION\s*=\s*(\d+)", contents).group(1)
version = f"{major}.{minor}.{patch}"
version = f"{major}.{minor}.{patch}-dev"

requirements = [
# Necessary until https://github.com/numba/numba/issues/7176 is resolved.
Expand Down

0 comments on commit c74fd61

Please sign in to comment.