Skip to content

Commit 0c3b9b4

Browse files
committed
fix: add dev mode situation
1 parent 7ca5f97 commit 0c3b9b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/emd/utils/smart_bootstrap.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@ def auto_bootstrap_if_needed(self, region: str) -> bool:
123123
Returns: True if bootstrap was run, False otherwise
124124
"""
125125
current_version = VERSION
126+
127+
# Development mode check: if version is 0.0.0, skip upgrade checks
128+
if current_version == "0.0.0":
129+
logger.debug("Development mode detected (version 0.0.0), skipping version upgrade checks")
130+
return False
131+
126132
deployed_version = get_deployed_infrastructure_version(region)
127133

128134
action = self.check_version_compatibility(current_version, deployed_version, region)

0 commit comments

Comments
 (0)