Skip to content

Commit

Permalink
updated version in the release scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
lastunicorn committed Jan 24, 2018
1 parent e3fae32 commit 1e27164
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 19 deletions.
34 changes: 20 additions & 14 deletions nuget/ConsoleTools.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>ConsoleTools</id>
<version>0.2.0</version>
<version>0.3.0</version>
<authors>Dust in the Wind</authors>
<title>ConsoleTools</title>
<owners>Dust in the Wind</owners>
Expand All @@ -12,19 +12,25 @@
<description>A set of tools and "controls" for the .net Console. It contains: List Input/Output Controls, Text Input/Output Controls, Progress Bar, Spinner, Data Table, Prompter, Menus, etc.</description>
<summary>A set of tools and "controls" for the .net Console.</summary>
<releaseNotes>
- Build: Added build configurations and releases for .NET Framework 4.5 and 4.6.1.
- ProgressBar: Replaced the ValueAlignment enum with HorizontalAlignment enum.
- CustomConcole: Added WithoutCursor methods to execute code while the cursor is hidden.
- CustomConcole: Added background colors for all standard color types (Emphasies, Success, Warning, Error).
- ProgressBar: [bugfix] Incorrect WriteLine when Value was aligned to right.
- ProgressBar: Added foreground and background colors.
- Translation: Added Romanian translation.
- ValueInput: Renamed TextInput control into ValueInput.
- ValueInput: When accepting a default value, the value is written in console.
- ValuOutput: Renamed the TextOutput control into ValuOutput.
- Spinner: Renamed the Start method into Display.
- Spinner: [bugfix] Stop method did not stop the spinner.
- TextMenu: Added the QuickDisplay method.
- ProgressBar: Renamed the BarEmptyColor and BarFillColor into BarEmptyForegroundColor and BarFillForegroundColor.
- ProgressBar: Renamed the Done() method into Close().
- Spinner: Renamed the Stop() method into Close().
- Prompter: Renamed the Run() method into Display().
- Prompter: Renamed the RunOnce() method into DisplayOnce().
- Prompter: Renamed the RequestStop() method into RequestClose().
- Prompter: Added MarginTop/MarginBottom.
- Spinner: Renamed the spinner templates.
- Pause [bugfix]: Control is not correctly erased when it is displayed at the bottom of the console buffer.
- Added French translation.
- DataGrid: Renamed Table into DataGrid.
- DataGrid: Exposed the Rows list.
- DataGrid: Removed the ColumnCount and RowCount properties. The values can be retrieved directly from the Columns and Rows lists.
- DataGrid: Created a StreamTablePrinter that writes the table into a Stream.
- DataGrid: [performance] Fixed performance issue introduced in ver 0.2.0.
- DataGrid: Added MarginTop/MarginBottom.
- Console MVC: Removed. It was moved in its own project named ConsoleMvc.
- TextMenu: Added MarginTop/MarginBottom.
- YesNoControl: Added MarginTop/MarginBottom.
</releaseNotes>
<copyright>Copyright 2017-2018 Dust in the Wind</copyright>
<tags>console cli prompter menu progressbar spinner table read write</tags>
Expand Down
8 changes: 6 additions & 2 deletions nuget/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,19 @@ echo ---
echo --- Retrieve assemblies - Net461
echo ---
echo.
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*" "lib\net461"
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.dll" "lib\net461"
if %errorlevel% neq 0 goto :error
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.xml" "lib\net461"
if %errorlevel% neq 0 goto :error

echo.
echo ---
echo --- Retrieve assemblies - Net45
echo ---
echo.
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net45\*" "lib\net45"
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net45\*.dll" "lib\net45"
if %errorlevel% neq 0 goto :error
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net45\*.xml" "lib\net45"
if %errorlevel% neq 0 goto :error

echo.
Expand Down
10 changes: 7 additions & 3 deletions release/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off

set root_directory=..
set version=0.2.0
set version=0.3.0

rem ----------------------------------------------------------------------------------------------------
rem Clean up existing files.
Expand Down Expand Up @@ -34,15 +34,19 @@ echo ---
echo --- Retrieve assemblies
echo ---
echo.
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*" "ConsoleTools\lib\Net461"
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.dll" "ConsoleTools\lib\Net461"
if %errorlevel% neq 0 goto :error
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.xml" "ConsoleTools\lib\Net461"
if %errorlevel% neq 0 goto :error

echo.
echo ---
echo --- Retrieve assemblies
echo ---
echo.
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net45\*" "ConsoleTools\lib\Net45"
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net45\*.dll" "ConsoleTools\lib\Net45"
if %errorlevel% neq 0 goto :error
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net45\*.xml" "ConsoleTools\lib\Net45"
if %errorlevel% neq 0 goto :error

rem ----------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 1e27164

Please sign in to comment.