From e5a8fa0ba79776634aa71d53d3ee531ed2ab7a40 Mon Sep 17 00:00:00 2001 From: Licini Date: Thu, 28 Sep 2023 22:09:24 +0200 Subject: [PATCH] Use SemVer2 --- .bumpversion.cfg | 2 +- CHANGELOG.md | 11 ++++++++++- setup.py | 2 +- src/compas/__init__.py | 2 +- src/compas_blender/__init__.py | 2 +- src/compas_ghpython/__init__.py | 2 +- src/compas_rhino/__init__.py | 2 +- 7 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 3c0d8a6ac23..3761e333372 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.0.0a0 +current_version = 2.0.0-alpha.1 message = Bump version to {new_version} commit = True tag = True diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ada1f62007..6270db37bab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [2.0.0a0] 2023-09-20 +## Unreleased + +### Added + +### Changed + +### Removed + + +## [2.0.0-alpha.1] 2023-09-20 ### Added diff --git a/setup.py b/setup.py index 9f026636cba..8a4ac6bbda5 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def read(*names, **kwargs): setup( name="COMPAS", - version="2.0.0a0", + version="2.0.0-alpha.1", description="The COMPAS framework", long_description=long_description, long_description_content_type="text/markdown", diff --git a/src/compas/__init__.py b/src/compas/__init__.py index 92666c2e5d8..dfb83baeabb 100644 --- a/src/compas/__init__.py +++ b/src/compas/__init__.py @@ -23,7 +23,7 @@ __copyright__ = "Copyright 2014-2022 - ETH Zurich, Copyright 2023 - COMPAS Association" __license__ = "MIT License" __email__ = "tom.v.mele@gmail.com" -__version__ = "2.0.0a0" +__version__ = "2.0.0-alpha.1" version = LooseVersion(compas.__version__) versionstring = version.vstring.split("-")[0] diff --git a/src/compas_blender/__init__.py b/src/compas_blender/__init__.py index b90fcc77d01..c6ff8a63df1 100644 --- a/src/compas_blender/__init__.py +++ b/src/compas_blender/__init__.py @@ -35,7 +35,7 @@ def redraw(): bpy.ops.wm.redraw_timer(type="DRAW_WIN_SWAP", iterations=1) -__version__ = "2.0.0a0" +__version__ = "2.0.0-alpha.1" def _check_blender_version(version): diff --git a/src/compas_ghpython/__init__.py b/src/compas_ghpython/__init__.py index b003b2cc864..0195fa5d9e2 100644 --- a/src/compas_ghpython/__init__.py +++ b/src/compas_ghpython/__init__.py @@ -20,7 +20,7 @@ import compas import compas_rhino -__version__ = "2.0.0a0" +__version__ = "2.0.0-alpha.1" if compas.is_rhino(): from .utilities import * # noqa: F401 F403 diff --git a/src/compas_rhino/__init__.py b/src/compas_rhino/__init__.py index f947da28c65..7ed0ce3f3d0 100644 --- a/src/compas_rhino/__init__.py +++ b/src/compas_rhino/__init__.py @@ -29,7 +29,7 @@ from .utilities import * # noqa: F401 F403 -__version__ = "2.0.0a0" +__version__ = "2.0.0-alpha.1" PURGE_ON_DELETE = True