Skip to content

Commit bca49a4

Browse files
authored
Merge pull request #3524 from SwissDataScienceCenter/release/hotfix-check-migration-version
fix(service): do not suggest updating dockerfile for release candidate versions
2 parents 134f943 + a576da9 commit bca49a4

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)