chore(CI): Move ScriptTemplates to Mirror folder for Unity package

This commit is contained in:
MrGadget 2024-06-12 16:51:43 -04:00
parent 97e6f8084c
commit 573e659c82

View File

@ -47,6 +47,9 @@ plugins:
- - '@semantic-release/exec' - - '@semantic-release/exec'
- prepareCmd: "rm -f -r Assets/Mirror/Tests && rm -f Assets/Mirror/Tests.meta" - prepareCmd: "rm -f -r Assets/Mirror/Tests && rm -f Assets/Mirror/Tests.meta"
- - '@semantic-release/exec'
- prepareCmd: "mv Assets/ScriptTemplates Assets/Mirror/ && mv Assets/ScriptTemplates.meta Assets/Mirror/"
# Create Unity package with Mirror, ScriptTemplates, and LICENSE # Create Unity package with Mirror, ScriptTemplates, and LICENSE
- - '@semantic-release/exec' - - '@semantic-release/exec'
- prepareCmd: "unity-packer pack Mirror.unitypackage Assets/Mirror Assets/Mirror Assets/ScriptTemplates Assets/ScriptTemplates LICENSE Assets/Mirror/LICENSE" - prepareCmd: "unity-packer pack Mirror.unitypackage Assets/Mirror Assets/Mirror Assets/ScriptTemplates Assets/ScriptTemplates LICENSE Assets/Mirror/LICENSE"