From e9619e4b426bfb6e8ca1db5484e52b772ac98561 Mon Sep 17 00:00:00 2001 From: qubka Date: Wed, 10 Sep 2025 21:10:53 +0100 Subject: [PATCH 1/2] fix: update build script again --- conda/bld.bat | 9 ++++----- conda/build.sh | 15 ++++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/conda/bld.bat b/conda/bld.bat index 6d9c4c9..c729cb7 100644 --- a/conda/bld.bat +++ b/conda/bld.bat @@ -3,12 +3,11 @@ REM bld.bat - For Windows builds REM Create the target directories if not exist "%PREFIX%\bin" mkdir "%PREFIX%\bin" +if not exist "%PREFIX%" mkdir "%PREFIX%" -REM Copy entire folders into %PREFIX -xcopy bin "%PREFIX%\bin" /E /Y /I - -REM Copy all .pmodule files into %PREFIX% -copy *.pmodule "%PREFIX%\" || exit 1 +REM Copy the DLL and module file +copy bin\plugify-module-cpp.dll "%PREFIX%\bin\" || exit 1 +copy plugify-module-cpp.pmodule "%PREFIX%\" || exit 1 REM Create activation scripts if not exist "%PREFIX%\etc\conda\activate.d" mkdir "%PREFIX%\etc\conda\activate.d" diff --git a/conda/build.sh b/conda/build.sh index ceb2573..7741d14 100644 --- a/conda/build.sh +++ b/conda/build.sh @@ -3,16 +3,17 @@ set -ex -# Copy entire bin/ folder into $PREFIX/bin/ +# Create the target directories mkdir -p $PREFIX/bin -cp -r bin/* $PREFIX/bin/ +mkdir -p $PREFIX -# Copy all .pmodule files into $PREFIX/ -cp -r *.pmodule $PREFIX/ +# Copy the shared library and module file +cp bin/libplugify-module-cpp.so $PREFIX/bin/ +cp plugify-module-cpp.pmodule $PREFIX/ -# Fix permissions (recursively for bin, selective for modules) -chmod -R 755 $PREFIX/bin -chmod 644 $PREFIX/*.pmodule +# Set proper permissions +chmod 755 $PREFIX/bin/libplugify-module-cpp.so +chmod 644 $PREFIX/plugify-module-cpp.pmodule # Create activation scripts for proper library path mkdir -p $PREFIX/etc/conda/activate.d From fa605f55541965e480a9ba6292c106115deabfab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Sep 2025 20:11:12 +0000 Subject: [PATCH 2/2] chore(main): release 2.0.17 --- .github/release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ version.txt | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json index 9896626..0cab49c 100644 --- a/.github/release-please-manifest.json +++ b/.github/release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.0.16" + ".": "2.0.17" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 903de33..681c843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.0.17](https://github.com/untrustedmodders/plugify-module-cpp/compare/v2.0.16...v2.0.17) (2025-09-10) + + +### Bug Fixes + +* update build script again ([e9619e4](https://github.com/untrustedmodders/plugify-module-cpp/commit/e9619e4b426bfb6e8ca1db5484e52b772ac98561)) + ## [2.0.16](https://github.com/untrustedmodders/plugify-module-cpp/compare/v2.0.15...v2.0.16) (2025-09-10) diff --git a/version.txt b/version.txt index a14da29..a6e7bcb 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.16 +2.0.17