Skip to content

Commit 6c9a662

Browse files
committed
Fix for Windows binaries not bundling all dependencies
1 parent b745dce commit 6c9a662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
mkdir bin
4747
for runtime in linux-x64 linux-musl-x64 linux-arm linux-arm64 win-x64 win-x86 win-arm win-arm64 osx-x64
4848
do
49-
dotnet publish cyclonedx/cyclonedx.csproj -r $runtime /p:PublishSingleFile=true /p:IncludeNativeLibrariesInSingleFile=true --configuration Release --version-suffix $VERSION --output bin/$runtime
49+
dotnet publish cyclonedx/cyclonedx.csproj -r $runtime --configuration Release --version-suffix $VERSION --self-contained true /p:PublishSingleFile=true /p:IncludeNativeLibrariesInSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --output bin/$runtime
5050
done
5151
5252
- name: Create github release and git tag for release

semver.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1
1+
0.0.2

0 commit comments

Comments
 (0)