|
2 | 2 | # Module information |
3 | 3 | RootModule = 'PSBuild.psm1' |
4 | 4 | ModuleVersion = '1.0.0' |
5 | | - GUID = '0b0a2f0e-3b3a-4c0b-8d0a-9b0b0b0b0b0b' # Generate a unique GUID for your module |
| 5 | + GUID = '15dd2bfc-0f11-4c8a-b98a-f2529558f423' |
6 | 6 | Author = 'ktsu.dev' |
7 | 7 | CompanyName = 'ktsu.dev' |
8 | | - Copyright = '(c) ktsu.dev All rights reserved.' |
9 | | - Description = 'A comprehensive build module for .NET projects' |
| 8 | + Copyright = '(c) 2023-2025 ktsu.dev. All rights reserved.' |
| 9 | + Description = 'A comprehensive PowerShell module for automating the build, test, package, and release process for .NET applications using Git-based versioning.' |
10 | 10 |
|
11 | 11 | # PowerShell version required |
12 | 12 | PowerShellVersion = '5.1' |
13 | 13 |
|
14 | 14 | # Functions to export |
15 | 15 | FunctionsToExport = @( |
| 16 | + # Core build and environment functions |
16 | 17 | 'Initialize-BuildEnvironment', |
17 | 18 | 'Get-BuildConfiguration', |
| 19 | + |
| 20 | + # Version management functions |
18 | 21 | 'Get-GitTags', |
19 | 22 | 'Get-VersionType', |
20 | 23 | 'Get-VersionInfoFromGit', |
21 | 24 | 'New-Version', |
| 25 | + |
| 26 | + # Version comparison and conversion functions |
22 | 27 | 'ConvertTo-FourComponentVersion', |
23 | 28 | 'Get-VersionNotes', |
| 29 | + |
| 30 | + # Metadata and documentation functions |
24 | 31 | 'New-Changelog', |
25 | 32 | 'Update-ProjectMetadata', |
26 | 33 | 'New-License', |
| 34 | + |
| 35 | + # .NET SDK operations |
27 | 36 | 'Invoke-DotNetRestore', |
28 | 37 | 'Invoke-DotNetBuild', |
29 | 38 | 'Invoke-DotNetTest', |
30 | 39 | 'Invoke-DotNetPack', |
31 | 40 | 'Invoke-DotNetPublish', |
| 41 | + |
| 42 | + # Release and publishing functions |
32 | 43 | 'Invoke-NuGetPublish', |
33 | 44 | 'New-GitHubRelease', |
| 45 | + |
| 46 | + # Utility functions |
34 | 47 | 'Assert-LastExitCode', |
35 | 48 | 'Write-StepHeader', |
36 | 49 | 'Test-AnyFiles', |
37 | 50 | 'Get-GitLineEnding', |
38 | 51 | 'Set-GitIdentity', |
| 52 | + |
| 53 | + # High-level workflow functions |
39 | 54 | 'Invoke-BuildWorkflow', |
40 | 55 | 'Invoke-ReleaseWorkflow', |
41 | 56 | 'Invoke-CIPipeline' |
|
50 | 65 | # Tags for PowerShell Gallery |
51 | 66 | PrivateData = @{ |
52 | 67 | PSData = @{ |
53 | | - Tags = @('build', 'dotnet', 'ci', 'cd', 'nuget', 'github') |
| 68 | + Tags = @( |
| 69 | + 'build', |
| 70 | + 'dotnet', |
| 71 | + 'ci', |
| 72 | + 'cd', |
| 73 | + 'nuget', |
| 74 | + 'github', |
| 75 | + 'versioning', |
| 76 | + 'release', |
| 77 | + 'automation' |
| 78 | + ) |
54 | 79 | LicenseUri = 'https://github.com/ktsu-dev/PSBuild/blob/main/LICENSE.md' |
55 | 80 | ProjectUri = 'https://github.com/ktsu-dev/PSBuild' |
56 | | - ReleaseNotes = 'Initial release' |
| 81 | + ReleaseNotes = @' |
| 82 | +Initial release of PSBuild module featuring: |
| 83 | +- Semantic versioning based on git history |
| 84 | +- Automatic version calculation from commit analysis |
| 85 | +- Metadata file generation and management |
| 86 | +- Comprehensive build, test, and package pipeline |
| 87 | +- NuGet package creation and publishing |
| 88 | +- GitHub release creation with assets |
| 89 | +- Proper line ending handling based on git config |
| 90 | +'@ |
57 | 91 | } |
58 | 92 | } |
59 | 93 | } |
0 commit comments