Skip to content

Commit

Permalink
Merge pull request #3524 from SwissDataScienceCenter/release/hotfix-c…
Browse files Browse the repository at this point in the history
…heck-migration-version

fix(service): do not suggest updating dockerfile for release candidate versions
  • Loading branch information
Panaetius authored Jun 14, 2023
2 parents 134f943 + a576da9 commit bca49a4
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 bca49a4

Please sign in to comment.