Skip to content

Commit

Permalink
Fix version condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Mar 13, 2024
1 parent 900524c commit 6e0f84f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exasol/toolbox/nox/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def _parser():
args = parser.parse_args(session.posargs)
new_version = args.version
old_version = Version.from_poetry()
if not new_version >= old_version:
if not (new_version >= old_version):
error_msg = (
f"Invalid version: the release version ({new_version}) "
f"must be greater than or equal to the current version ({old_version})."
Expand Down Expand Up @@ -435,7 +435,7 @@ def release(session: Session, python=False) -> None:
Creates a new release and publishing it to GitHub and pypi.
"""
session.error("Not implemented yet")
# Precondition(s):
# Precondition(s):
# Convert ci-cd.yml workflow to cd.yml workflow
# Tests validation can be skipped. Branch protection together with
# PR and merge validation shoudl be sufficient
Expand Down

0 comments on commit 6e0f84f

Please sign in to comment.