diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c7b5c4..3a740c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,13 @@ jobs: build: strategy: matrix: - os: [windows-2022, ubuntu-20.04, macos-11] + include: + - os: windows-2022 + arch_suffix: -x64 + - os: ubuntu-20.04 + arch_suffix: -x64 + - os: macos-14 + arch_suffix: "" runs-on: ${{ matrix.os }} needs: setup steps: @@ -84,10 +90,10 @@ jobs: with: directory: 'release' type: 'zip' - filename: '${{ env.ZIP_NAME }}_${{ needs.setup.outputs.tag }}_${{ runner.os }}.zip' + filename: '${{ env.ZIP_NAME }}_${{ needs.setup.outputs.tag }}_${{ runner.os }}${{ matrix.arch_suffix }}.zip' exclusions: '*.git* .gitignore' - name: Upload Release Asset env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload ${{ needs.setup.outputs.tag }} release/${{ env.ZIP_NAME }}_${{ needs.setup.outputs.tag }}_${{ runner.os }}.zip + run: gh release upload ${{ needs.setup.outputs.tag }} release/${{ env.ZIP_NAME }}_${{ needs.setup.outputs.tag }}_${{ runner.os }}${{ matrix.arch_suffix }}.zip diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0afbf2f..4cee70b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,9 +40,9 @@ jobs: fail-fast: false matrix: include: - # Test with 2.83, 3.3, 3.6, and 4.1 on Windows + # Test with 2.83, 3.3, 3.6, and 4.2 on Windows - platform: windows-latest - blender-version: '4.1.1' + blender-version: '4.2.2' - platform: windows-latest blender-version: '3.6.11' diff --git a/addons/blender_dds_addon/__init__.py b/addons/blender_dds_addon/__init__.py index 7c72bfa..34f6a7d 100644 --- a/addons/blender_dds_addon/__init__.py +++ b/addons/blender_dds_addon/__init__.py @@ -10,7 +10,7 @@ bl_info = { 'name': 'DDS textures', 'author': 'Matyalatte', - 'version': (0, 4, 2), + 'version': (0, 4, 3), 'blender': (2, 83, 20), 'location': 'Image Editor > Sidebar > DDS Tab', 'description': 'Import and export .dds files', diff --git a/changelog.txt b/changelog.txt index 41fd043..1a438fd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +ver 0.4.3 +- Fixed a bug where DLL changed locale settings on Windows. + ver 0.4.2 - Updated DirectXTex to June2024 release (including fix for HDR codec to avoid buffer overread for some malformed files) diff --git a/docs/README.md b/docs/README.md index 4428992..692d363 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -# Blender-DDS-Addon v0.4.2 +# Blender-DDS-Addon v0.4.3 [![Github All Releases](https://img.shields.io/github/downloads/matyalatte/Blender-DDS-Addon/total.svg)]() [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) diff --git a/external/Texconv-Custom-DLL b/external/Texconv-Custom-DLL index 9f03f0f..9779c21 160000 --- a/external/Texconv-Custom-DLL +++ b/external/Texconv-Custom-DLL @@ -1 +1 @@ -Subproject commit 9f03f0f418c8f038f1a798fa15f8d621664e0ffa +Subproject commit 9779c218cb0dbd1f8ffd277d9c9e179d18b2efa1 diff --git a/for_dev/lint.py b/for_dev/lint.py index cd8861c..6dfef75 100644 --- a/for_dev/lint.py +++ b/for_dev/lint.py @@ -31,7 +31,7 @@ def get_args(): f'Path: {path} | ' f'Threshold: {threshold} ') - results = Run([path], do_exit=False) + results = Run([path], exit=False) score = results.linter.stats.global_note score_msg = f'Score: {score} | Threshold: {threshold} '