Skip to content

Commit 4e448cd

Browse files
committed
ci: Fix build and add readme to nuget package
1 parent f754f1f commit 4e448cd

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/release-package.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
VERSION=$1
22

33
dotnet pack --configuration Release
4-
dotnet nuget push GoDough.${VERSION}.nupkg --api-key $NUGET_API_KEY
4+
dotnet nuget push \
5+
GoDough.${VERSION}.nupkg \
6+
--api-key $NUGET_API_KEY \
7+
--source https://api.nuget.org/v3/index.json

GoDough.csproj

+7-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<EnableDynamicLoading>true</EnableDynamicLoading>
66
<AssemblyVersion>1.0.0</AssemblyVersion>
7+
<PackageReadmeFile>README.md</PackageReadmeFile>
78
</PropertyGroup>
89
<ItemGroup>
9-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0"/>
10-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0"/>
10+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0" />
11+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
1112
</ItemGroup>
12-
</Project>
13+
<ItemGroup>
14+
<None Include=".\README.md" Pack="true" PackagePath="\" />
15+
</ItemGroup>
16+
</Project>

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Godot Utilities
22

3-
See [Wiki](https://github.com/Hobart2967/GoDough/wiki) for documentation
4-
53
Utility library for implement state of the art application development in Godot 4. Includes:
64

75
- Using .NET Standards:
@@ -11,4 +9,4 @@ Utility library for implement state of the art application development in Godot
119
- General utilities for Godot:
1210
- Node Extension Methods
1311

14-
12+
See [Wiki](https://github.com/Hobart2967/GoDough/wiki) for documentation

0 commit comments

Comments
 (0)