Skip to content

Commit

Permalink
Merge pull request #1187 from Licini/workflow
Browse files Browse the repository at this point in the history
Use SemVer2
  • Loading branch information
Licini authored Sep 28, 2023
2 parents 59e3d4a + e5a8fa0 commit 8c0cd7b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/compas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
__copyright__ = "Copyright 2014-2022 - ETH Zurich, Copyright 2023 - COMPAS Association"
__license__ = "MIT License"
__email__ = "[email protected]"
__version__ = "2.0.0a0"
__version__ = "2.0.0-alpha.1"

version = LooseVersion(compas.__version__)
versionstring = version.vstring.split("-")[0]
Expand Down
2 changes: 1 addition & 1 deletion src/compas_blender/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/compas_ghpython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_rhino/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from .utilities import * # noqa: F401 F403


__version__ = "2.0.0a0"
__version__ = "2.0.0-alpha.1"


PURGE_ON_DELETE = True
Expand Down

0 comments on commit 8c0cd7b

Please sign in to comment.