Skip to content

Commit 9e50bf7

Browse files
authored
fix: nuget (#4)
nupkg
1 parent 5f17b61 commit 9e50bf7

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ jobs:
7676
echo "[+] build windows"
7777
dotnet publish -r win-x64 --self-contained=true -c Release -p:PublishDir=build /p:Version=${{ needs.version.outputs.version }} /p:FileVersion=${{ needs.version.outputs.version }} /p:AssemblyVersion=${{ needs.version.outputs.version }} /p:ProductVersion=${{ needs.version.outputs.version }}
7878
79+
- name: pack
80+
run: |
81+
echo "[+] Packing NuGet package"
82+
dotnet pack --configuration Release -o build -p:PublishDir=build /p:Version=${{ needs.version.outputs.version }} /p:FileVersion=${{ needs.version.outputs.version }} /p:AssemblyVersion=${{ needs.version.outputs.version }} /p:ProductVersion=${{ needs.version.outputs.version }}
83+
7984
- name: collect artifacts
8085
shell: bash
8186
run: |

BinaryNinja.csproj

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,19 @@
1919
<AssemblyVersion>0.1.0.0</AssemblyVersion>
2020
<FileVersion>0.1.0.0</FileVersion>
2121
<ProductVersion>0.1.0.0</ProductVersion>
22-
<Company>tinysec.net</Company>
23-
<Product>SharpBinja</Product>
22+
<Company>https://github.com/tinysec</Company>
23+
<Product>BinaryNinja</Product>
2424
<Copyright>tinysec©2006-2025</Copyright>
2525
<Description>BinaryNinja dotnet bindings</Description>
26+
27+
<!-- NuGet Package properties -->
28+
<PackageId>BinaryNinja</PackageId>
29+
<PackageTags>binaryninja bn bnapi bindings</PackageTags>
30+
<Authors>https://github.com/tinysec</Authors>
31+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
32+
<PackageProjectUrl>https://github.com/tinysec/BinaryNinja</PackageProjectUrl>
33+
<RepositoryUrl>https://github.com/tinysec/BinaryNinja.git</RepositoryUrl>
34+
<RepositoryType>git</RepositoryType>
2635
</PropertyGroup>
2736

2837
<!-- for Windows -->

0 commit comments

Comments
 (0)