else:
if os.path.isdir(".git"):
logger.warning("Force removing .git directory")
- shutil.rmtree(".git")
+ if not options.dry_run: shutil.rmtree(".git")
if os.path.isdir(".scripts"):
logger.warning("Force removing .scripts directory")
- shutil.rmtree(".scripts")
+ if not options.dry_run: shutil.rmtree(".scripts")
try:
deploy = wd.Deployment.fromDir(".")
version = deploy.getAppVersion()