Quick update to prepapre the 5.1.2 release

This commit is contained in:
2026-06-19 15:06:19 +02:00
parent a59f3938bd
commit 40bd1d0424
13 changed files with 16 additions and 18 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