diff --git a/Commands/README.md b/Commands/README.md index 3833ebf..932584b 100644 --- a/Commands/README.md +++ b/Commands/README.md @@ -31,7 +31,11 @@ 1) 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 @@ -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) diff --git a/Commands/Release.Version.cmd b/Commands/Release.Version.cmd index c7d4641..8044629 100644 --- a/Commands/Release.Version.cmd +++ b/Commands/Release.Version.cmd @@ -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 diff --git a/Examples/ActionPayroll/ActionPayroll.csproj b/Examples/ActionPayroll/ActionPayroll.csproj index 276cf3a..aa2616c 100644 --- a/Examples/ActionPayroll/ActionPayroll.csproj +++ b/Examples/ActionPayroll/ActionPayroll.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/Examples/ExtendedPayroll/ExtendedPayroll.csproj b/Examples/ExtendedPayroll/ExtendedPayroll.csproj index fbeeac6..7a052b7 100644 --- a/Examples/ExtendedPayroll/ExtendedPayroll.csproj +++ b/Examples/ExtendedPayroll/ExtendedPayroll.csproj @@ -16,8 +16,8 @@ - - + + diff --git a/Examples/ReportPayroll/ReportPayroll.csproj b/Examples/ReportPayroll/ReportPayroll.csproj index e7d56b2..92b949b 100644 --- a/Examples/ReportPayroll/ReportPayroll.csproj +++ b/Examples/ReportPayroll/ReportPayroll.csproj @@ -49,8 +49,8 @@ - - + +