Skip to content

Commit 8ce7e64

Browse files
committed
ready nuget
1 parent 81e51e4 commit 8ce7e64

File tree

6 files changed

+63
-2
lines changed

6 files changed

+63
-2
lines changed

.github/workflows/nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id: check-version
1717
run: |
1818
version="${{ github.event.inputs.version }}"
19-
if [[ $version =~ [0-9]+\.[0-9]+\.[0-9]+ ]]; then
19+
if [[ $version =~ [0-9]\.[0-9]\.[0-9]\.[0-9]+ ]]; then
2020
echo "Input matches pattern: $version"
2121
else
2222
echo "Input does not match pattern: $version"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
push:
44
tags:
5-
- '[0-9]+.[0-9]+.[0-9]+'
5+
- '[0-9].[0-9].[0-9].[0-9]+'
66

77
jobs:
88
build:

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6+
7+
## [Unreleased] - yyyy-mm-dd
8+
9+
### Added
10+
- Nothing
11+
12+
### Fixed
13+
- Nothing
14+
15+
### Changed
16+
- Nothing
17+
18+
### Removed
19+
- Nothing
20+
21+
### Special Thanks
22+
- Nothing
23+
24+
## [3.1.0.500] - 2025-04-26
25+
26+
Box2D.NET Release 🎉
27+
28+
We’re excited to announce the first release of Box2D.NET 3.1.0!
29+
This is a C# port of the original Box2D, which was written in C — now bringing a lightweight and fast 2D physics engine to the .NET ecosystem.
30+
31+
More than just a direct port, it’s been carefully refined to feel natural and intuitive for C# developers.
32+
After many trials and iterations, we’re truly happy to finally share the result.
33+
34+
Huge thanks to everyone who showed interest and supported the project along the way! 🙏
35+
36+
### Special Thanks
37+
- [@erincatto](https://github.com/erincatto)
38+

src/Box2D.NET.Shared/Box2D.NET.Shared.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.1;net8.0;net9.0</TargetFrameworks>
5+
<PackageId>Box2D.NET.Shared</PackageId>
6+
<PackageReadmeFile>README.md</PackageReadmeFile>
7+
<Authors>ikpil</Authors>
8+
<Description>Box2D.NET - Box2D.NET - a port of Box2D, is a 2D physics engine for games, .NET C#, Unity3D, servers</Description>
9+
<RepositoryType>git</RepositoryType>
10+
<PackageProjectUrl>https://github.com/ikpil/Box2D.NET</PackageProjectUrl>
11+
<RepositoryUrl>https://github.com/ikpil/Box2D.NET</RepositoryUrl>
12+
<PackageTags>game csharp physics game-development collision physics-engine collision-detection box2d physics-simulation physics-2d 2d-game 2d box2d-physics-engine rigid-body-dynamics</PackageTags>
13+
<PackageReleaseNotes>https://github.com/ikpil/Box2D.NET/blob/main/CHANGELOG.md</PackageReleaseNotes>
514
</PropertyGroup>
615

716
<ItemGroup>

src/Box2D.NET/Box2D.NET.csproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,21 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.1;net8.0;net9.0</TargetFrameworks>
5+
<PackageId>Box2D.NET</PackageId>
6+
<PackageReadmeFile>README.md</PackageReadmeFile>
7+
<Authors>ikpil</Authors>
8+
<Description>Box2D.NET - Box2D.NET - a port of Box2D, is a 2D physics engine for games, .NET C#, Unity3D, servers</Description>
9+
<RepositoryType>git</RepositoryType>
10+
<PackageProjectUrl>https://github.com/ikpil/Box2D.NET</PackageProjectUrl>
11+
<RepositoryUrl>https://github.com/ikpil/Box2D.NET</RepositoryUrl>
12+
<PackageTags>game csharp physics game-development collision physics-engine collision-detection box2d physics-simulation physics-2d 2d-game 2d box2d-physics-engine rigid-body-dynamics</PackageTags>
13+
<PackageReleaseNotes>https://github.com/ikpil/Box2D.NET/blob/main/CHANGELOG.md</PackageReleaseNotes>
514
</PropertyGroup>
615

16+
<ItemGroup>
17+
<None Include="../../README.md" Pack="true" PackagePath="\"/>
18+
</ItemGroup>
19+
720
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
821
<DefineConstants>$(DefineConstants);ENABLED</DefineConstants>
922
</PropertyGroup>

tools/Box2D.NET.Benchmark/Box2D.NET.Benchmark.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7+
<IsPackable>false</IsPackable>
78
</PropertyGroup>
89

910
<ItemGroup>

0 commit comments

Comments
 (0)