|
1 | | -Prerequisites |
2 | | -------------- |
| 1 | +# Create a CSLA .NET release |
| 2 | + |
| 3 | +## Prerequisites |
| 4 | + |
3 | 5 | You must have: |
4 | 6 |
|
5 | | -1. PC |
6 | | - 1. Windows 11 or 10 |
7 | | - 2. .NET 6 SDK |
8 | | - 2. .NET 7 SDK |
9 | | - 2. .NET 8 SDK |
10 | | - 3. Visual Studio 2022 with the latest updates |
11 | | - 1. Maui |
12 | | - 1. UWP SDK |
13 | | - 1. Blazor templates |
14 | | - |
15 | | -Semantic Versioning |
16 | | -------------------- |
| 7 | +1. Windows PC |
| 8 | + a. Windows 11 |
| 9 | + a. .NET SDKs |
| 10 | + 1. 8 SDK |
| 11 | + 1. 9 SDK |
| 12 | + 1. 10 SDK |
| 13 | + a. Visual Studio 2026 with the latest updates/toolsets |
| 14 | + 1. Maui |
| 15 | + 1. Blazor templates |
| 16 | + |
| 17 | +## Semantic Versioning |
| 18 | + |
17 | 19 | CSLA .NET, starting with version 4.9.0, follows the [semantic versioning (semver)](https://semver.org/) guidelines. Version numbers should follow the semver guidance from that point forward. |
18 | 20 |
|
19 | | -NuGet release |
20 | | -------------- |
| 21 | +## NuGet release |
| 22 | + |
21 | 23 | 1. Pull the latest code from MarimerLLC/csla |
22 | | -1. Open the csla.build.sln |
23 | | - 1. Update version numbers |
24 | | - 1. `cd /Source` |
25 | | - 1. Edit `Directory.Build.props` and update the version number |
26 | | - 1. `grep -rl --include=*.cs --include=*.csproj --include=*.Build.props '7\.0\.2' | xargs sed -i 's/7\.0\.2/8.0.0/g'` |
27 | | - 1. Adjust the version numbers to match current versions |
28 | | - 1. Build the solution in Release mode; Any CPU |
| 24 | +1. Open the `Source/version.json` file and update the version number |
29 | 25 | 1. Do NuGet release |
30 | | - 1. Open a powershell window |
31 | | - 1. Run the `nuget/Build All.ps1` script (add /prerelease:yymmddxx for test release) |
32 | | - 1. Make sure you have Rocky's NuGet key installed (see Nuget.org) |
33 | | - 1. Run the `nuget/Push All.ps1` script |
| 26 | + 1. Open a terminal window |
| 27 | + 1. Change to the `csla/Source` folder |
| 28 | + 1. Run `dotnet pack csla.build.sln` |
| 29 | + 1. Make sure you have Rocky's NuGet API key (see Nuget.org) |
| 30 | + 1. Change to the `csla/Support` folder |
| 31 | + 1. Run the `csla/Support/push-nuget-packages.sh` bash script to push the packages |
| 32 | + |
| 33 | +## Finalize Release |
34 | 34 |
|
35 | | -Finalize Release |
36 | | ----------------- |
37 | 35 | 1. Update GitHub |
38 | 36 | 1. Update [releasenotes.md](https://github.com/MarimerLLC/csla/blob/master/releasenotes.md) |
39 | 37 | 1. Commit all changes to git |
40 | | - 1. Create PR |
| 38 | + 1. Create PR |
41 | 39 | 1. Accept PR |
42 | 40 | 1. In the GitHub releases web page create the release |
43 | | - 1. Create a new release at HEAD using the version number (such as v7.0.2) |
44 | | - 1. Name the release like "Version 7.0.2 Release" |
| 41 | + 1. Create a new release at HEAD using the version number (such as v10.0.2) |
| 42 | + 1. Name the release like "Version 10.0.2 Release" |
45 | 43 | 1. Mark the release as pre-release or release |
0 commit comments