Skip to content

Commit

Permalink
.github: Package license text from libsamplerate
Browse files Browse the repository at this point in the history
  • Loading branch information
norihiro committed Dec 26, 2023
1 parent 669fe65 commit bfa3d91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,12 @@ jobs:
27)
(cd release/${PLUGIN_NAME} && ../../ci/macos/change-rpath.sh -obs ${{ matrix.obs }} -lib lib/ bin/${PLUGIN_NAME}.so)
cp LICENSE release/${PLUGIN_NAME}/data/LICENSE-$PLUGIN_NAME
cp deps/libsamplerate/COPYING release/${PLUGIN_NAME}/data/LICENSE-libsamplerate
;;
28)
(cd release/${PLUGIN_NAME}.plugin/Contents && ../../../ci/macos/change-rpath.sh -obs 28 -lib lib/ MacOS/${PLUGIN_NAME})
cp LICENSE release/${PLUGIN_NAME}.plugin/Contents/Resources/LICENSE-$PLUGIN_NAME
cp deps/libsamplerate/COPYING release/${PLUGIN_NAME}.plugin/Contents/Resources/LICENSE-libsamplerate
;;
esac
Expand Down
1 change: 1 addition & 0 deletions ci/windows/package-windows.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ set /p PackageVersion=<package-version.txt
del package-version.txt

copy ..\LICENSE ..\release\data\obs-plugins\%PluginName%\LICENCE-%PluginName%.txt
copy ..\deps\libsamplerate\COPYING ..\release\data\obs-plugins\%PluginName%\LICENCE-libsamplerate.txt

REM Package ZIP archive
7z a "%PluginName%-%PackageVersion%-obs%1-Windows.zip" "..\release\*"
Expand Down

0 comments on commit bfa3d91

Please sign in to comment.