Skip to content

Commit d3cc665

Browse files
committed
Support Blender 3.1.* releases
1 parent f7238e5 commit d3cc665

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.github/workflows/publish-for-blender-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
blender_version:
19-
["2.80", "2.81", "2.82", "2.83", "2.90", "2.91", "2.92", "2.93", "3.00"]
19+
["2.80", "2.81", "2.82", "2.83", "2.90", "2.91", "2.92", "2.93", "3.00", "3.10", "3.11", "3.12"]
2020

2121
steps:
2222
- name: Download Build

.github/workflows/publish-for-blender-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
working-directory: python_api/blender-stub
191191
run: |
192192
sed -i "s/#APP_NAME#/blender/g" setup.py && \
193-
sed -i "s/#APP_VERSION#/3.1.0/g" setup.py && \
193+
sed -i "s/#APP_VERSION#/3.2.0/g" setup.py && \
194194
sed -i "s/#BUILD_NUMBER#/${{ github.run_id }}/g" setup.py && \
195195
python setup.py sdist
196196

package/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ There are two variants of the API stubs, one for Blender and the other for UPBGE
2222
you can install `blender-stubs` module with appropriate version qualifier as follows:
2323

2424
```bash
25-
$ pip install blender-stubs==3.0.26
25+
$ pip install blender-stubs==3.1.26
2626
```
2727
This will install the latest module for Blender 2.93, and for now stubs are provided for Blender
2828
2.80 and onwards. You can also specify the next unreleased version as `3.1.*` to get the latest
2929
snapshot of the module:
3030

3131
```bash
32-
$ pip install blender-stubs==3.1.*
32+
$ pip install blender-stubs==3.2.*
3333
```
3434

3535
A stub module for UPBGE 0.3, as well as pre-release versions for the master branch are also

package/download_blender.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ declare -A BLENDER_BINARY_URL=(
1616
["v2.92"]="https://download.blender.org/release/Blender2.92/blender-2.92.0-linux64.tar.xz"
1717
["v2.93"]="https://download.blender.org/release/Blender2.93/blender-2.93.4-linux-x64.tar.xz"
1818
["v3.00"]="https://download.blender.org/release/Blender3.0/blender-3.0.0-linux-x64.tar.xz"
19+
["v3.10"]="https://download.blender.org/release/Blender3.1/blender-3.1.0-linux-x64.tar.xz"
20+
["v3.11"]="https://download.blender.org/release/Blender3.1/blender-3.1.1-linux-x64.tar.xz"
21+
["v3.12"]="https://download.blender.org/release/Blender3.1/blender-3.1.2-linux-x64.tar.xz"
1922
)
2023

2124
declare -A BLENDER_SOURCE_URL=(
@@ -28,6 +31,9 @@ declare -A BLENDER_SOURCE_URL=(
2831
["v2.92"]="https://download.blender.org/source/blender-2.92.0.tar.xz"
2932
["v2.93"]="https://download.blender.org/source/blender-2.93.4.tar.xz"
3033
["v3.00"]="https://download.blender.org/source/blender-3.0.0.tar.xz"
34+
["v3.10"]="https://download.blender.org/source/blender-3.1.0.tar.xz"
35+
["v3.11"]="https://download.blender.org/source/blender-3.1.1.tar.xz"
36+
["v3.12"]="https://download.blender.org/source/blender-3.1.2.tar.xz"
3137
)
3238

3339
function get_extractor() {

0 commit comments

Comments
 (0)