Skip to content

Commit

Permalink
Merge pull request #624 from Moo-Ack-Productions/blender_manifest_change
Browse files Browse the repository at this point in the history
build: Rename blender_manifest.toml to avoid bugs with 4.2 and bl_info + fix: Add max bound for BpyBuild
  • Loading branch information
StandingPadAnimations authored Aug 22, 2024
2 parents e66c2ba + 0fc013a commit b94b0bf
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 112 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions action-scripts/extension.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from bpy_addon_build.api import BabContext
import subprocess
from pathlib import Path
Expand All @@ -8,6 +9,10 @@ def pre_build(ctx: BabContext) -> None:
print("Applying Extension Patches")
_ = subprocess.run(["git", "apply", str(EXTENSION_BL_INFO_PATCH)], cwd=ctx.current_path.parent)

def main(ctx: BabContext) -> None:
print("Setting up the Blender Manifest")
os.rename("_blender_manifest.toml", "blender_manifest.toml")

def clean_up(ctx: BabContext) -> None:
print("Cleaning up patches")
_ = subprocess.run(["git", "apply", "-R", str(EXTENSION_BL_INFO_PATCH)], cwd=ctx.current_path.parent)
Loading

0 comments on commit b94b0bf

Please sign in to comment.