Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
name: ${{ matrix.platform }}-v${{ needs.version.outputs.version }}
path: artifacts/*.*
path: artifacts/**

release:
needs: [ version , build ]
Expand All @@ -110,16 +110,17 @@ jobs:
uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true

- name: create release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ needs.version.outputs.version }}
name: release v${{ needs.version.outputs.version }}
generate_releases: true
generate_release_notes: true
draft: false
prerelease: true
files: artifacts/*.*
files: artifacts/**

- name: publish to NuGet
continue-on-error: true
Expand Down
15 changes: 14 additions & 1 deletion BinaryNinja.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,29 @@
<!-- NuGet Package properties -->
<PackageId>BinaryNinja</PackageId>
<PackageTags>binaryninja bn bnapi bindings</PackageTags>
<Authors>https://github.com/tinysec</Authors>
<Authors>tinysec</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/tinysec/BinaryNinja</PackageProjectUrl>
<RepositoryUrl>https://github.com/tinysec/BinaryNinja.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<!-- for Windows -->
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
</PropertyGroup>

<ItemGroup>
<None Include="LICENSE">
<Pack>true</Pack>
<PackagePath>\</PackagePath>
</None>

<None Include="README.md">
<Pack>true</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# BinaryNinja C# Bindings (Typed, Safe, Native AOT Ready)

[![Build](https://img.shields.io/github/actions/workflow/status/tinysec/binaryninja/ci.yml?branch=master)](https://github.com/tinysec/binaryninja/actions)
[![NuGet](https://img.shields.io/nuget/v/BinaryNinja.svg)](https://www.nuget.org/packages/BinaryNinja)
![License](https://img.shields.io/github/license/tinysec/binaryninja)
![Platforms](https://img.shields.io/badge/platforms-windows%20%7C%20linux-blue)
Expand Down Expand Up @@ -53,7 +52,7 @@ class Program
throw new Exception("load fail");
}

foreach(Function? function in view.Functions)
foreach(Function function in view.Functions)
{
Console.WriteLine(function.RawName);
}
Expand Down