Skip to content

Commit 6f776b1

Browse files
author
Github Actions
committed
Update PSBuild module metadata and function exports to enhance versioning and automation capabilities. Changed GUID, updated copyright information, and expanded function exports to include new version management, utility, and workflow functions. Enhanced module description and release notes to reflect new features and improvements.
1 parent ded00ca commit 6f776b1

1 file changed

Lines changed: 39 additions & 5 deletions

File tree

scripts/PSBuild.psd1

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,55 @@
22
# Module information
33
RootModule = 'PSBuild.psm1'
44
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'
66
Author = 'ktsu.dev'
77
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.'
1010

1111
# PowerShell version required
1212
PowerShellVersion = '5.1'
1313

1414
# Functions to export
1515
FunctionsToExport = @(
16+
# Core build and environment functions
1617
'Initialize-BuildEnvironment',
1718
'Get-BuildConfiguration',
19+
20+
# Version management functions
1821
'Get-GitTags',
1922
'Get-VersionType',
2023
'Get-VersionInfoFromGit',
2124
'New-Version',
25+
26+
# Version comparison and conversion functions
2227
'ConvertTo-FourComponentVersion',
2328
'Get-VersionNotes',
29+
30+
# Metadata and documentation functions
2431
'New-Changelog',
2532
'Update-ProjectMetadata',
2633
'New-License',
34+
35+
# .NET SDK operations
2736
'Invoke-DotNetRestore',
2837
'Invoke-DotNetBuild',
2938
'Invoke-DotNetTest',
3039
'Invoke-DotNetPack',
3140
'Invoke-DotNetPublish',
41+
42+
# Release and publishing functions
3243
'Invoke-NuGetPublish',
3344
'New-GitHubRelease',
45+
46+
# Utility functions
3447
'Assert-LastExitCode',
3548
'Write-StepHeader',
3649
'Test-AnyFiles',
3750
'Get-GitLineEnding',
3851
'Set-GitIdentity',
52+
53+
# High-level workflow functions
3954
'Invoke-BuildWorkflow',
4055
'Invoke-ReleaseWorkflow',
4156
'Invoke-CIPipeline'
@@ -50,10 +65,29 @@
5065
# Tags for PowerShell Gallery
5166
PrivateData = @{
5267
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+
)
5479
LicenseUri = 'https://github.com/ktsu-dev/PSBuild/blob/main/LICENSE.md'
5580
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+
'@
5791
}
5892
}
5993
}

0 commit comments

Comments
 (0)