Skip to content

Commit

Permalink
Merge pull request #1331 from mabel-dev/0.12.0-beta.115
Browse files Browse the repository at this point in the history
0.12.0 beta.115
  • Loading branch information
joocer authored Dec 13, 2023
2 parents 402bb99 + 37ba8fe commit db84347
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build_counter.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Count Action Executions

on:
push:
branches:
- '!main' # exclude main
push

jobs:
count_executions:
Expand Down Expand Up @@ -35,5 +33,5 @@ jobs:
git config --global user.name "XB500"
git config --global user.email "XB500@users.noreply.github.com"
git add $GITHUB_WORKSPACE/opteryx/__build__.py
git commit -m "Update Build Number"
git commit -m "Update Build Number to $GITHUB_RUN_NUMBER"
git push
2 changes: 1 addition & 1 deletion opteryx/__build__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__build__ = 115
__build__ = 119
20 changes: 18 additions & 2 deletions opteryx/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@
1) we don't load dependencies by storing it in __init__.py
2) we can import it in setup.py for the same reason
"""
from enum import Enum

# __version__ = "0.4.0-alpha.6"
__version__ = "0.12.0-beta.12"
from .__build__ import __build__


class VersionStatus(Enum):
ALPHA = "alpha"
BETA = "beta"
RELEASE = "release"


_major = 0
_minor = 12
_revision = 0
_status = VersionStatus.BETA

__version__ = f"{_major}.{_minor}.{_revision}" + (
f"-{_status.value}.{__build__}" if _status != VersionStatus.RELEASE else ""
)

0 comments on commit db84347

Please sign in to comment.