-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<!-- version number used for the assemblies and the nuget packages --> | ||
<LibraryVersion>5.500.2005</LibraryVersion> | ||
<LibraryVersion>5.500.2008</LibraryVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@echo off | ||
|
||
echo You are about to publish new updates to NuGet. Have You set your API key correctly? (Y/N) | ||
set INPUT= | ||
set /P INPUT=Type response: %=% | ||
if /I "%INPUT%"=="y" goto apikeycheck | ||
if /I "%INPUT%"=="n" goto no | ||
|
||
:apikeycheck | ||
echo The API key is now entered. Have You set your version correctly? (Y/N) | ||
set INPUT= | ||
set /P INPUT=Type response: %=% | ||
if /I "%INPUT%"=="y" goto versioncheck | ||
if /I "%INPUT%"=="n" goto no | ||
|
||
:versioncheck | ||
echo The version is now correct. Do you want to publish to NuGet? (Y/N) | ||
set INPUT= | ||
set /P INPUT=Type response: %=% | ||
if /I "%INPUT%"=="y" goto publish | ||
if /I "%INPUT%"=="n" goto no | ||
|
||
:publish | ||
dotnet nuget push Krypton.Docking.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Docking.Lite.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Navigator.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Navigator.Lite.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Ribbon.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Ribbon.Lite.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Toolkit.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Toolkit.Lite.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Workspace.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
dotnet nuget push Krypton.Workspace.Lite.5.500.2008.nupkg -k <#API-KEY#> -s https://api.nuget.org/v3/index.json | ||
|
||
echo All NuGet packages have now been published! | ||
|
||
:no | ||
pause |