Skip to content

Commit a576da9

Browse files
author
Ralf Grubenmann
committed
fix(service): do not suggest updating dockerfile for release candidate versions
1 parent 134f943 commit a576da9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

renku/core/migration/migrate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ def update_dockerfile(*, check_only=False) -> Tuple[bool, Optional[bool], Option
227227
"Couldn't update renku-python version in Dockerfile, as it doesn't contain an 'ARG RENKU_VERSION=...' line."
228228
)
229229

230-
current_version = Version(__version__)
231-
if docker_version >= current_version:
230+
current_version = Version(Version(__version__).base_version)
231+
if Version(docker_version.base_version) >= current_version:
232232
return True, False, str(docker_version)
233233

234234
if check_only:

0 commit comments

Comments
 (0)