Skip to content

Commit

Permalink
updated version to 0.6.0-beta.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Jani Giannoudis committed Sep 8, 2023
1 parent 57ad46d commit 93d55f9
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 10 deletions.
36 changes: 33 additions & 3 deletions Commands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@

<sup>1)</sup> see Release Build

## Release Build
## Release Steps

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

### 1. Local Release
Steps to build the release:
1. Edit the file `Release.Version.cmd`
- set the variable `version` to the new version
Expand All @@ -40,9 +44,35 @@ Steps to build the release:
3. Execute the command `Release.All.cmd`
- confirm the version release
-> creates the setup in the folder `Setup\Version`
4. GitHub: create a new release with the same version name

### 2. GitHub Repositories and NuGet Packages
1. Commit the `PayrollEngine.Core` repo to GitHub and build a new release
2. -> Wait until the package is public available on nuget.org (a few minutes)
3. Commit the following repos to GitHub and build new releases
- `PayrollEngine.Client.Core`
- `PayrollEngine.Serilog`
- `PayrollEngine.Document`
- `PayrollEngine.Document.*`
4. -> Wait until the package `PayrollEngine.Client.Core` is public available on nuget.org (a few minutes)
5. Commit the following repos to GitHub and build new releases
- `PayrollEngine.Client.Scripting`
- `PayrollEngine.Client.Test`
6. -> Wait until both packages are public available on nuget.org (a few minutes)
7. Commit the following repos to GitHub and build a new release
- `PayrollEngine.Client.Services`
8. -> Wait until the package is public available on nuget.org (a few minutes)
5. Commit the following repos to GitHub and build new releases
- `PayrollEngine.Backend`
- `PayrollEngine.PayrollConsole`
- `PayrollEngine.WebApp`
- `PayrollEngine.Client.Tutorials`
- `Regulation.*`
- `PayrollEngine`

### 3. GitHub Release
1. GitHub: create a new release with the same version name
- attach the binaries from the `Setup\Version` folder
5. GitHub: publish the release
2. GitHub: publish the release

## Folders
- `Bin` - binaries (publish output)
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.5.0-beta.7
set version=0.5.0-beta.8

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.6.0-beta.7" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.7" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.8" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.8" />
</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.6.0-beta.7" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.7" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.8" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.8" />
</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.6.0-beta.7" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.7" />
<PackageReference Include="PayrollEngine.Client.Services" Version="0.6.0-beta.8" />
<PackageReference Include="PayrollEngine.Serilog" Version="0.6.0-beta.8" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 93d55f9

Please sign in to comment.