Skip to content

Commit

Permalink
Add localization files to build output
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Apr 9, 2024
1 parent 20b5af1 commit 4dec9f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
dotnet publish ${{ env.PLUGIN_NAME }} -c "Release" -o "out/generic" -p:ContinuousIntegrationBuild=true --nologo
mkdir -p ./out/dist/${{ env.PLUGIN_NAME }}
cp ./out/generic/${{ env.PLUGIN_NAME }}.dll ./out/dist/${{ env.PLUGIN_NAME }}
( cd ./out/generic/ ; cp --parents ./*/${{ env.PLUGIN_NAME }}.resources.dll ../dist/${{ env.PLUGIN_NAME }} || : )
- name: Create README
uses: docker://pandoc/core:3.1
Expand Down
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ sync
dotnet publish BoosterManager -c "Release" -f net8.0 -o "out/generic" "/p:LinkDuringPublish=false"
mkdir ./out/$plugin_name
cp ./out/generic/$plugin_name.dll ./out/$plugin_name
( cd ./out/generic ; cp --parents ./*/$plugin_name.resources.dll ../../out/$plugin_name )
if [[ -f "README.md" ]]; then
if ! command -v pandoc &> /dev/null; then
cp README.md ./out/$plugin_name
Expand Down

0 comments on commit 4dec9f1

Please sign in to comment.