Skip to content

Commit 0d1eac9

Browse files
author
Jake Hildreth
committed
Can't wait to release 2025.1.1, so hax
1 parent 6d33592 commit 0d1eac9

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Build/Build-Module.ps1

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ if (Get-Module -Name 'PSPublishModule' -ListAvailable) {
1818
Update-Module -Name PSPublishModule
1919
Import-Module -Name PSPublishModule -Force
2020

21+
$CopyrightYear = if ($Calver) { $CalVer.Split('.')[0] } else { (Get-Date -Format yyyy) }
22+
2123
Build-Module -ModuleName 'Locksmith' {
2224
# Usual defaults as per standard module
2325
$Manifest = [ordered] @{
2426
ModuleVersion = if ($Calver) { $CalVer } else { (Get-Date -Format yyyy.M.d) }
2527
CompatiblePSEditions = @('Desktop', 'Core')
2628
GUID = 'b1325b42-8dc4-4f17-aa1f-dcb5984ca14a'
2729
Author = 'Jake Hildreth'
28-
Copyright = "(c) 2022 - $((Get-Date).Year). All rights reserved."
30+
Copyright = "(c) 2022 - $CopyrightYear. All rights reserved."
2931
Description = 'A small tool to find and fix common misconfigurations in Active Directory Certificate Services.'
3032
ProjectUri = 'https://github.com/TrimarcJake/Locksmith'
3133
IconUri = 'https://raw.githubusercontent.com/TrimarcJake/Locksmith/main/Images/locksmith.ico'

Invoke-Locksmith.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -4381,7 +4381,7 @@ function Invoke-Locksmith {
43814381
[System.Management.Automation.PSCredential]$Credential
43824382
)
43834383

4384-
$Version = '2024.12.30'
4384+
$Version = '2025.1.1'
43854385
$LogoPart1 = @'
43864386
_ _____ _______ _ _ _______ _______ _____ _______ _ _
43874387
| | | | |____/ |______ | | | | | |_____|

Locksmith.psd1

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
Author = 'Jake Hildreth'
44
CmdletsToExport = @()
55
CompatiblePSEditions = @('Desktop', 'Core')
6-
Copyright = '(c) 2022 - 2024. All rights reserved.'
6+
Copyright = '(c) 2022 - 2025. All rights reserved.'
77
Description = 'A small tool to find and fix common misconfigurations in Active Directory Certificate Services.'
88
FunctionsToExport = 'Invoke-Locksmith'
99
GUID = 'b1325b42-8dc4-4f17-aa1f-dcb5984ca14a'
1010
HelpInfoURI = 'https://raw.githubusercontent.com/TrimarcJake/Locksmith/main/en-US/'
11-
ModuleVersion = '2024.12.30'
11+
ModuleVersion = '2025.1.1'
1212
PowerShellVersion = '5.1'
1313
PrivateData = @{
1414
PSData = @{

0 commit comments

Comments
 (0)