-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Project references are used instead of package references (as the MVC packages will now be released together) 2. Language version fixed to 9.0 3. PackageReleaseNotes fixed
- Loading branch information
1 parent
03fc144
commit 21b2ce2
Showing
7 changed files
with
60 additions
and
16 deletions.
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
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
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
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,35 @@ | ||
@ECHO OFF | ||
REM This bat file allows publishing packages to Nuget. | ||
REM Usage: | ||
REM publish2nuget.bat [version] [NuGet API key] | ||
|
||
set version=%1 | ||
set superSecretApiKey=%2 | ||
|
||
IF %version%=="" ( | ||
ECHO Please supply the version number and API key that should be published to nuget. Example: "%0 1.6.2-beta4 00000000-0000-0000-0000-000000000000" | ||
GOTO :EOF | ||
) | ||
IF %superSecretApiKey%=="" ( | ||
ECHO Please supply the version number and API key that should be published to nuget. Example: "%0 1.6.2-beta4 00000000-0000-0000-0000-000000000000" | ||
GOTO :EOF | ||
) | ||
|
||
set packageDirectory=Releases\v%version% | ||
set options=%superSecretApiKey% -Verbosity detailed -source https://www.nuget.org/api/v2/package | ||
set nugetexe=..\..\nuget.exe | ||
|
||
IF NOT EXIST %packageDirectory% ( | ||
ECHO The directory "%packageDirectory%" could not be found. | ||
GOTO :EOF | ||
) | ||
|
||
IF NOT EXIST %nugetexe% ( | ||
echo %nugetexe% not found. Please download nuget.exe from https://www.nuget.org/nuget.exe. | ||
GOTO :EOF | ||
) | ||
|
||
%nugetexe% push %packageDirectory%\*.%version%.nupkg %options% | ||
|
||
|
||
echo Done! |