File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
33 <Deterministic >true</Deterministic >
4- <Version >0.3.0-alpha.10 </Version >
4+ <Version >0.3.0-alpha.11 </Version >
55 <TargetFramework >net8.0</TargetFramework >
66 <ImplicitUsings >disable</ImplicitUsings >
77 <Nullable >enable</Nullable >
Original file line number Diff line number Diff line change 11$nuget_api_key = cat " NUGET_API_KEY"
2+ if (-not $? ) { Exit }
23
34$version = Read-Host (" version to upload?" )
45
@@ -9,11 +10,11 @@ if ($(Read-Host("correct? (y/n)")) -ne "y") {
910
1011dotnet clean
1112if (-not $? ) { Exit }
12- dotnet build
13+ dotnet pack
1314if (-not $? ) { Exit }
1415dotnet test
1516if (-not $? ) { Exit }
1617
1718dotnet nuget push $ (" src/SimulationFramework/bin/Release/SimulationFramework." + $version + " .nupkg" ) -- api- key $nuget_api_key -- source https:// api.nuget.org/ v3/ index.json
1819dotnet nuget push $ (" src/SimulationFramework.OpenGL/bin/Release/SimulationFramework.OpenGL." + $version + " .nupkg" ) -- api- key $nuget_api_key -- source https:// api.nuget.org/ v3/ index.json
19- 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
20+ 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
You can’t perform that action at this time.
0 commit comments