Skip to content

Commit

Permalink
alpha 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Redninja106 committed Nov 19, 2024
1 parent 7801cbc commit d1dd69a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<Deterministic>true</Deterministic>
<Version>0.3.0-alpha.10</Version>
<Version>0.3.0-alpha.11</Version>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
5 changes: 3 additions & 2 deletions nuget-upload.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
$nuget_api_key = cat "NUGET_API_KEY"
if (-not $?) { Exit }

$version=Read-Host("version to upload?")

Expand All @@ -9,11 +10,11 @@ if ($(Read-Host("correct? (y/n)")) -ne "y") {

dotnet clean
if (-not $?) { Exit }
dotnet build
dotnet pack
if (-not $?) { Exit }
dotnet test
if (-not $?) { Exit }

dotnet nuget push $("src/SimulationFramework/bin/Release/SimulationFramework." + $version + ".nupkg") --api-key $nuget_api_key --source https://api.nuget.org/v3/index.json
dotnet nuget push $("src/SimulationFramework.OpenGL/bin/Release/SimulationFramework.OpenGL." + $version + ".nupkg") --api-key $nuget_api_key --source https://api.nuget.org/v3/index.json
dotnet nuget push $("src/SimulationFramework.Desktop/bin/Release/SimulationFramework.Desktop" + $version + ".nupkg") --api-key $nuget_api_key --source https://api.nuget.org/v3/index.json
dotnet nuget push $("src/SimulationFramework.Desktop/bin/Release/SimulationFramework.Desktop." + $version + ".nupkg") --api-key $nuget_api_key --source https://api.nuget.org/v3/index.json

0 comments on commit d1dd69a

Please sign in to comment.