Quick update to prepapre the 5.1.2 release
This commit is contained in:
@@ -2,24 +2,28 @@
|
||||

|
||||
|
||||
# Blender Addon
|
||||
This repository is a toolbox to create a new blender addon. To used-it, clone this repository and rename the folder "blender_addon_folder" with your addon name.
|
||||
This repository is a toolbox to create a new blender addon.
|
||||
To used-it, clone this repository and rename the folder `blender_addon_folder` with your addon name.
|
||||
It's important to change some files :
|
||||
- [x] Update the file "tests/main.py", line 29, set your addon name.
|
||||
```python
|
||||
# Prepare Blender and Unreal dependency
|
||||
generate_archive(archives, 'blender_addon_folder')
|
||||
```
|
||||
- [x] You can remove the folder "presets" and disable the workflow (`.github/workflows/pr_main.yml`, line 38 and 53)
|
||||
- [x] You can remove the folder "presets" and disable the workflow (`.gitea/workflows/pr_main.yml`, line 38 and 53)
|
||||
|
||||
|
||||
> ⚠️ It's more easy to use the "_" with your addon folder name, the "-" character can be problematic with python use.
|
||||
|
||||
All features covered with this template are :
|
||||
|
||||
# Features
|
||||
All features covered with this Blender Addon template are :
|
||||
- [x] Generate addon release (.zip archive)
|
||||
- [x] Generate preset release (.zip archive)
|
||||
- [x] Update addon version (bl info) with tag name
|
||||
- [x] Execute unit test with Github Action (check if the addon can be installed with blender)
|
||||
- [x] Configuration with Pycharm to test locally
|
||||
- [ ] Execute unit test with Gitea Action (check if the addon can be installed with blender)
|
||||
- [ ] Configuration with Pycharm to test locally
|
||||
- [ ] Linter config
|
||||
|
||||
|
||||
## Unit Test
|
||||
@@ -32,9 +36,9 @@ class Container(enum.Enum):
|
||||
BLENDER = ContainerObject(name='Blender', image='stilobique/blender', tag='3.1.2')
|
||||
`````
|
||||
|
||||
> [Find the repository git on my public space](https://git.graou.studio/stilobique/blender-docker).
|
||||
|
||||
|
||||
# Addons/Plugins dependency
|
||||
Update json file `tests/dependency.json` with name, archive and repository Github path. Each entry require `archive
|
||||
name`, the repository url path '{owner}/{repo}' and optional parameter if the release needed to be a prerelease.
|
||||
|
||||
> ⛔ The `moderlab_plugin` need to be on last entry.
|
||||
|
||||
Reference in New Issue
Block a user