Skip to content

Commit

Permalink
Merge branch 'develop' into feat/debugger-support
Browse files Browse the repository at this point in the history
  • Loading branch information
Xieyt authored Feb 13, 2024
2 parents a1bc559 + caf2d5c commit 5883ff2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 70 deletions.
10 changes: 2 additions & 8 deletions frappe_manager/migration_manager/migration_executor.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
import shutil
import typer
import os
import importlib
import configparser
import pkgutil
from pathlib import Path

from rich import inspect
from frappe_manager import CLI_DIR , CLI_SITES_ARCHIVE
from frappe_manager.compose_manager.ComposeFile import ComposeFile
from frappe_manager import CLI_SITES_ARCHIVE
from frappe_manager.metadata_manager import MetadataManager
from frappe_manager.migration_manager.migration_exections import MigrationExceptionInSite
from frappe_manager.utils.helpers import downgrade_package, get_current_fm_version
from frappe_manager.logger import log
from frappe_manager.migration_manager.version import Version
from frappe_manager.migration_manager.migration_base import MigrationBase
from frappe_manager.display_manager.DisplayManager import richprint

class MigrationExecutor():
Expand Down Expand Up @@ -167,7 +161,7 @@ def execute(self):
downgrade_package('frappe-manager',str(self.prev_version.version))
richprint.exit("Rollback complete.")

self.metadata_manager.set_version(self.prev_version)
self.metadata_manager.set_version(self.current_version)
self.metadata_manager.save()

return True
Expand Down
61 changes: 0 additions & 61 deletions frappe_manager/migration_manager/migrations/\

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "frappe-manager"
version = "0.10.0"
version = "0.10.1"
license = "MIT"
repository = "https://github.com/rtcamp/frappe-manager"
description = "A CLI tool based on Docker Compose to easily manage Frappe based projects. As of now, only suitable for development in local machines running on Mac and Linux based OS."
Expand Down

0 comments on commit 5883ff2

Please sign in to comment.