Skip to content

Commit

Permalink
Merge pull request #110 from rtCamp/develop
Browse files Browse the repository at this point in the history
bump: v0.10.1
  • Loading branch information
Xieyt authored Feb 13, 2024
2 parents 5ed8d6d + caf2d5c commit dfd6f8e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 72 deletions.
11 changes: 2 additions & 9 deletions frappe_manager/migration_manager/migration_executor.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
import shutil
import typer
import os
import importlib
import configparser
import pkgutil
from pathlib import Path

import rich

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 @@ -169,7 +162,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.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from sys import exception
from typing import Optional
from dataclasses import dataclass
import shutil
Expand Down
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 dfd6f8e

Please sign in to comment.