Skip to content

Commit

Permalink
fix(service): do not suggest updating dockerfile for release candidat…
Browse files Browse the repository at this point in the history
…e versions
  • Loading branch information
Ralf Grubenmann committed Jun 14, 2023
1 parent 134f943 commit a576da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renku/core/migration/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ def update_dockerfile(*, check_only=False) -> Tuple[bool, Optional[bool], Option
"Couldn't update renku-python version in Dockerfile, as it doesn't contain an 'ARG RENKU_VERSION=...' line."
)

current_version = Version(__version__)
if docker_version >= current_version:
current_version = Version(Version(__version__).base_version)
if Version(docker_version.base_version) >= current_version:
return True, False, str(docker_version)

if check_only:
Expand Down

0 comments on commit a576da9

Please sign in to comment.