Skip to content

Commit

Permalink
fix: update nightly migration action
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudSheraz authored Nov 28, 2024
1 parent 165d97e commit 5f343b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tutor/plugins/openedx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f343b1

Please sign in to comment.