Skip to content

Commit

Permalink
fix: again correct version scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Feb 3, 2024
1 parent 12ab34b commit 5a95b82
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "GherkinParser Support for RobotCode and Robot Framework",
"icon": "icons/icon.png",
"publisher": "d-biehl",
"version": "0.1.1-dev.1",
"version": "0.2.0",
"author": {
"name": "Daniel Biehl",
"url": "https://github.com/d-biehl/"
Expand Down
2 changes: 1 addition & 1 deletion packages/gurke/src/gurke/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.1-dev.1"
__version__ = "0.2.0"
2 changes: 2 additions & 0 deletions scripts/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ def get_current_version_from_git() -> Version:
def get_version() -> Version:
if "npm_package_version" in os.environ:
return Version(os.environ["npm_package_version"])
if "CZ_PRE_NEW_VERSION" in os.environ:
return Version(os.environ["CZ_PRE_NEW_VERSION"])

return get_current_version_from_git()
2 changes: 1 addition & 1 deletion src/GherkinParser/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.1-dev.1"
__version__ = "0.2.0"

0 comments on commit 5a95b82

Please sign in to comment.