Skip to content

Commit

Permalink
setup: fixed installation in directories with spaces
Browse files Browse the repository at this point in the history
updated to version 0.8.0-beta.2
  • Loading branch information
Jani Giannoudis committed Jul 10, 2024
1 parent 7b7a520 commit 50b7773
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Commands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

## Release Steps

Before you start release, ensure taht all projects have the same version.
Before you start release, ensure that all projects have the same version.

### 1. Local Release
Steps to build the release:
Expand Down
2 changes: 1 addition & 1 deletion Commands/Release.Version.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo Set Payroll Set Release Version

rem --- version setup ---
:version
set version=0.8.0-beta.1
set version=0.8.0-beta.2

rem --- confirmation ---
:confirmation
Expand Down
4 changes: 2 additions & 2 deletions Examples/ActionPayroll/ActionPayroll.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PayrollEngine.Client.Services" Version="0.8.0-beta.1" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.8.0-beta.1" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.8.0-beta.2" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.8.0-beta.2" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Examples/ExtendedPayroll/ExtendedPayroll.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="PayrollEngine.Client.Services" Version="0.8.0-beta.1" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.8.0-beta.1" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.8.0-beta.2" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.8.0-beta.2" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Examples/ReportPayroll/ReportPayroll.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="PayrollEngine.Client.Services" Version="0.8.0-beta.1" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.8.0-beta.1" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.8.0-beta.2" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.8.0-beta.2" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Schemas/PayrollEngine.CaseTest.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@
},
{
"type": "object",
"description": "Case build function test\n Test input: case change setup\n Test output: case set\n "
"description": "Case build function test.\n Test input: case change setup\n Test output: case set\n "
}
]
},
Expand Down Expand Up @@ -1935,7 +1935,7 @@
},
{
"type": "object",
"description": "Case validate function test\n Test input: case change setup\n Test output: case change\n "
"description": "Case validate function test.\n Test input: case change setup\n Test output: case change\n "
}
]
},
Expand Down
10 changes: 5 additions & 5 deletions Schemas/PayrollEngine.Exchange.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1873,7 +1873,7 @@
},
"CaseType": {
"type": "string",
"description": "The type of a case",
"description": "The case type",
"x-enumNames": [
"Global",
"National",
Expand Down Expand Up @@ -1910,7 +1910,7 @@
},
"CaseCancellationType": {
"type": "string",
"description": "The cancellation type of a case",
"description": "The case cancellation type",
"x-enumNames": [
"None",
"Case"
Expand Down Expand Up @@ -3787,7 +3787,7 @@
},
"CaseIssueType": {
"type": "string",
"description": "The type of a case issue",
"description": "The case issue type",
"x-enumNames": [
"Unknown",
"CaseInvalid",
Expand Down Expand Up @@ -4867,7 +4867,7 @@
},
"createdReason": {
"type": "string",
"description": "The create reason (immutable)",
"description": "The created reason (immutable)",
"minLength": 1
},
"releasedReason": {
Expand Down Expand Up @@ -5812,7 +5812,7 @@
"null",
"string"
],
"description": "The employe identifier (client only)"
"description": "The employee identifier (client only)"
},
"divisionId": {
"type": "integer",
Expand Down
2 changes: 1 addition & 1 deletion Schemas/PayrollEngine.ReportTest.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
},
{
"type": "object",
"description": "Report build test\n Test input: report request\n Test output: list of report parameter\n "
"description": "Report build test.\n Test input: report request\n Test output: list of report parameter\n "
}
]
},
Expand Down
20 changes: 10 additions & 10 deletions Setup/Setup.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ set query=%PayrollDbQuery%
rem --- test available database server ---
:testDatabaseServer
echo Testing SQL Server...
call %query% TestServer /noCatalog
call "%query%" TestServer /noCatalog
if %ERRORLEVEL% neq 0 goto dbServerError
echo SQL Server available.

rem --- test available database ---
:testDatabase
echo Testing database...
call %query% TestSqlConnection
call "%query%" TestSqlConnection
if %ERRORLEVEL% neq 0 goto setupDatabase

rem --- test available database version ---
Expand All @@ -91,24 +91,24 @@ if %ERRORLEVEL% == 0 goto runBackendServerServer
rem --- setup database ---
:setupDatabase
echo Setup database...
call %query% Query Database\SetupDefaultDatabase.sql /noCatalog
call "%query%" Query Database\SetupDefaultDatabase.sql /noCatalog
if %ERRORLEVEL% neq 0 goto dbSetupError

rem --- setup database model ---
:setupDatabaseModel
echo Setup database model...
call %query% Query Database\SetupModel.sql
call "%query%" Query Database\SetupModel.sql
if %ERRORLEVEL% neq 0 goto dbSetupErrorModel

rem --- test database setup ---
:testDatabaseSetup
call %query% TestVersion Version MajorVersion MinorVersion SubVersion %dbVersion%
call "%query%" TestVersion Version MajorVersion MinorVersion SubVersion %dbVersion%
if %ERRORLEVEL% neq 0 goto dbValidateError
echo.Database setup completed

rem --- parse backend server url ---
:backendServerUrl
call %query% ParseUrl backendServerUrl $BackendUrl$:$BackendPort$/
call "%query%" ParseUrl backendServerUrl $BackendUrl$:$BackendPort$/
rem delay for the errorlevel
timeout 2 > NUL
if %ERRORLEVEL% neq 0 goto setupError
Expand All @@ -119,7 +119,7 @@ rem --- test if the backend server is already running ---
echo Testing backend server is running...
rem delay for the errorlevel
timeout 2 > NUL
call %query% TestHttpConnection %backendServerUrl%
call "%query%" TestHttpConnection %backendServerUrl%
if %ERRORLEVEL% == 0 goto executeBackendServerTests

rem --- run backend server ---
Expand All @@ -134,7 +134,7 @@ popd
rem --- test if the backend server has been started ---
:testBackendStarted
echo Testing backend server start...
call %query% TestHttpConnection %backendServerUrl%
call "%query%" TestHttpConnection %backendServerUrl%
if %ERRORLEVEL% neq 0 goto backendStartError

rem --- execute backend server tests ---
Expand Down Expand Up @@ -168,7 +168,7 @@ echo Starting web application server...

rem --- parse web application server url ---
:webAppServerUrl
call %query% ParseUrl webAppServerUrl $WebAppUrl$:$WebAppPort$/
call "%query%" ParseUrl webAppServerUrl $WebAppUrl$:$WebAppPort$/
rem delay for the errorlevel
timeout 2 > NUL
if %ERRORLEVEL% neq 0 goto setupError
Expand All @@ -179,7 +179,7 @@ rem --- test if the web application server connection is used ---
rem delay for the errorlevel
timeout 2 > NUL
echo Testing web application server %webAppServerUrl%...
call %query% TestHttpConnection %webAppServerUrl%
call "%query%" TestHttpConnection %webAppServerUrl%
if %ERRORLEVEL% == 0 goto openWebApp

rem --- start web application server ---
Expand Down

0 comments on commit 50b7773

Please sign in to comment.