Dev 5.2.1 (#1)

Reviewed-on: #1
Co-authored-by: aurelien.vaillant <availlant@miraculouscorp.com>
Co-committed-by: aurelien.vaillant <availlant@miraculouscorp.com>
This commit was merged in pull request #1.
This commit is contained in:
2026-07-08 19:21:14 +02:00
committed by stilobique
parent a59f3938bd
commit 5d17ec9da1
15 changed files with 22 additions and 22 deletions
+46
View File
@@ -0,0 +1,46 @@
name: Create addon release
on:
pull_request:
branches:
[main]
types:
[opened]
jobs:
init-release:
name: Generate the release
runs-on: ubuntu-latest
steps:
- name: Setup bump release
id: bump_setup
run: |
if [ ${{ contains(github.event.pull_request.labels.*.name, 'release:major') }} == true ]; then
echo "::set-output name=type::major"
elif [ ${{ contains(github.event.pull_request.labels.*.name, 'release:minor') }} == true ]; then
echo "::set-output name=type::minor"
else
echo "::set-output name=type::patch"
fi
- uses: actions/checkout@main
- name: Create new Semantic Version
uses: zwaldowski/semver-release-action@v2
id: new_semantic_setup
with:
bump: ${{ steps.bump_setup.outputs.type }}
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: true
prefix: v
- name: Make the github release
uses: ncipollo/release-action@v1.10.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
tag: ${{ steps.new_semantic_setup.outputs.version_tag }}
unit-test:
uses: Moderlab-Production/BlenderTemplate/.github/workflows/unit_test.yml@main