-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from egvijayanand/working
Updated version of VijayAnand.MauiToolkit.* packages
- Loading branch information
Showing
9 changed files
with
72 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"sdk": { | ||
"allowPrerelease": false, | ||
"rollForward": "disable", | ||
"allowPrerelease": true, | ||
"rollForward": "latestMinor", | ||
"version": "6.0.300" | ||
} | ||
} |
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,5 +1,5 @@ | ||
:: Creates a new NuGet package from the project file in Debug configuration | ||
@echo off | ||
|
||
call Create-Package.bat Debug | ||
call Create-Package-New.bat Debug | ||
pause |
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,60 @@ | ||
:: Creates a new NuGet package from the project file | ||
@echo off | ||
|
||
if [%1]==[] (call Error "Build configuration input is not provided." & goto end) | ||
|
||
set config=%1 | ||
|
||
:: Package Name | ||
|
||
if not exist CorePackageName.txt (call Error "Core package name file not available." & goto end) | ||
|
||
set /P corePkgName=<CorePackageName.txt | ||
|
||
if [%corePkgName%]==[] (call Error "Core package name not configured." & goto end) | ||
|
||
if not exist ToolkitPackageName.txt (call Error "Toolkit package name file not available." & goto end) | ||
|
||
set /P toolkitPkgName=<ToolkitPackageName.txt | ||
|
||
if [%toolkitPkgName%]==[] (call Error "Toolkit package name not configured." & goto end) | ||
|
||
:: Package Version | ||
|
||
if not exist PackageVersion.txt (call Error "Version file not available." & goto end) | ||
|
||
set /P pkgVersion=<PackageVersion.txt | ||
|
||
if [%pkgVersion%]==[] (call Error "Version # not configured." & goto end) | ||
|
||
:: .NET SDK Version | ||
|
||
dotnet --version | ||
|
||
:: Package Configuration | ||
|
||
call Info "Core Package: %corePkgName% ver. %pkgVersion%" | ||
call Info "Toolkit Package: %toolkitPkgName% ver. %pkgVersion%" | ||
|
||
call Info "Delete existing package ..." | ||
|
||
if exist .\VijayAnand.MauiToolkit.Core\bin\%config%\%corePkgName%.%pkgVersion%.nupkg del .\VijayAnand.MauiToolkit.Core\bin\%config%\%corePkgName%.%pkgVersion%.nupkg | ||
|
||
if exist .\VijayAnand.MauiToolkit\bin\%config%\%toolkitPkgName%.%pkgVersion%.nupkg del .\VijayAnand.MauiToolkit\bin\%config%\%toolkitPkgName%.%pkgVersion%.nupkg | ||
|
||
call Info "Creating NuGet package ..." | ||
|
||
dotnet build .\VijayAnand.MauiToolkit.Core\VijayAnand.MauiToolkit.Core.csproj -c %config% -p:PackageVersion=%pkgVersion% -p:ContinuousIntegrationBuild=true | ||
|
||
if not %errorlevel% == 0 (call Error "Core package creation failed." & goto end) | ||
|
||
echo. | ||
:: Adding NuGet reference | ||
::dotnet add .\VijayAnand.MauiToolkit\VijayAnand.MauiToolkit.csproj package %corePkgName% --version %pkgVersion% | ||
|
||
dotnet build .\VijayAnand.MauiToolkit\VijayAnand.MauiToolkit.csproj -c %config% -p:PackageVersion=%pkgVersion% -p:ContinuousIntegrationBuild=true | ||
|
||
echo. | ||
if %errorlevel% == 0 (call Success "Process completed.") else (call Error "Toolkit package creation failed.") | ||
|
||
:end |
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,5 +1,5 @@ | ||
:: Creates a new NuGet package from the project file in Release configuration | ||
@echo off | ||
|
||
call Create-Package.bat Release | ||
call Create-Package-New.bat Release | ||
pause |
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 +1 @@ | ||
1.0.1-pre1 | ||
1.0.1 |
2 changes: 1 addition & 1 deletion
2
src/VijayAnand.MauiToolkit/VijayAnand.MauiToolkit.Core/release-notes.txt
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
2 changes: 1 addition & 1 deletion
2
src/VijayAnand.MauiToolkit/VijayAnand.MauiToolkit/release-notes.txt
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