Skip to content

Commit 8b46ede

Browse files
committed
!deploy v0.1.0 - First release after fixes to enable passing tests in PS5.1
## 0.1.0 - Initial release to the PowerShell Gallery - Included functions are `Protect-PEMString` and `Unprotect-PEMString` - Fixed deployment issue
1 parent fcbad50 commit 8b46ede

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

PEMEncrypt/PEMEncrypt.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RootModule = 'PEMEncrypt.psm1'
1515
ModuleVersion = '0.1.0'
1616

1717
# Supported PSEditions
18-
# CompatiblePSEditions = @()
18+
CompatiblePSEditions = @('Desktop','Core')
1919

2020
# ID used to uniquely identify this module
2121
GUID = 'ef40d36c-7f7d-47b4-9593-aedd1b751019'
@@ -33,7 +33,7 @@ Copyright = 'Nate Ferrell, 2019'
3333
Description = 'A cross-platform PowerShell module handling string encryption and decryption using RSA keys only. Allows strings to be encrypted when the client only has the public key available, in the event the encrypted string is being sent to a secure endpoint housing the private key where it will be decrypted for further use.'
3434

3535
# Minimum version of the PowerShell engine required by this module
36-
PowerShellVersion = '5.0.0'
36+
PowerShellVersion = '5.1.0'
3737

3838
# Name of the PowerShell host required by this module
3939
# PowerShellHostName = ''
@@ -42,7 +42,7 @@ PowerShellVersion = '5.0.0'
4242
# PowerShellHostVersion = ''
4343

4444
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
45-
# DotNetFrameworkVersion = ''
45+
DotNetFrameworkVersion = '4.6.0'
4646

4747
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
4848
# CLRVersion = ''

psake.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ $deployScriptBlock = {
278278
try {
279279
if ($ENV:BHBuildSystem -eq 'VSTS' -and -not [String]::IsNullOrEmpty($env:NugetApiKey)) {
280280
" Publishing version [$($versionToDeploy)] to PSGallery..."
281-
Update-Metadata -Path (Join-Path $outputModVerDir "$($env:BHProjectName).psd1") -PropertyName ModuleVersion -Value $versionToDeploy
281+
Update-Metadata -Path (Join-Path $outputModVerDir "$($env:BHProjectName).psd1") -PropertyName ModuleVersion -Value $versionToDeploy -Verbose
282282
try {
283-
Publish-Module -Path $outputModVerDir -NuGetApiKey $env:NugetApiKey -Repository PSGallery
283+
Publish-Module -Path $outputModVerDir -NuGetApiKey $env:NugetApiKey -Repository PSGallery -Verbose
284284
" Deployment successful!"
285285
}
286286
catch {

0 commit comments

Comments
 (0)