From 5f343b124f4a887494676c4b5d727ecbe78a9d7e Mon Sep 17 00:00:00 2001 From: Syed Muhammad Dawoud Sheraz Ali <40599381+DawoudSheraz@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:34:21 +0500 Subject: [PATCH] fix: update nightly migration action --- tutor/plugins/openedx.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutor/plugins/openedx.py b/tutor/plugins/openedx.py index 78ed23589f..ba49834bdb 100644 --- a/tutor/plugins/openedx.py +++ b/tutor/plugins/openedx.py @@ -17,7 +17,9 @@ def _migrate_obsolete_nightly_root(root: str) -> None: REMOVE-ME-AFTER-v20: migrate this code to the sumac upgrade commands. """ - if __version_suffix__ == "main": + + # Run it for old nightly only + if __version_suffix__ != "main": return # Migrate the project root