Skip to content

Commit 7fec660

Browse files
Merge pull request #127 from PowershellFrameworkCollective/scripting
bugfixes
2 parents 07b6bfd + e5d4153 commit 7fec660

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

PSModuleDevelopment/PSModuleDevelopment.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
RootModule = 'PSModuleDevelopment.psm1'
55

66
# Version number of this module.
7-
ModuleVersion = '2.2.8.103'
7+
ModuleVersion = '2.2.8.104'
88

99
# ID used to uniquely identify this module
1010
GUID = '37dd5fce-e7b5-4d57-ac37-832055ce49d6'

PSModuleDevelopment/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.2.8.104 (July 26th, 2020)
4+
5+
- Fix: Various bugs in the new functions
6+
37
## 2.2.8.103 (July 24th, 2020)
48

59
- New: Publish-PSMDScriptFile - Packages a script with all dependencies and "publishes" it as a zip package.

PSModuleDevelopment/functions/script/Publish-PSMDScriptFile.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
[CmdletBinding()]
4242
param (
4343
[Parameter(Mandatory = $true)]
44-
[PsfValidateScript('PSModuleDevelopment.Validate.Path', ErrorString = 'PSModuleDevelopment.Validate.Path')]
44+
[PsfValidateScript('PSModuleDevelopment.Validate.File', ErrorString = 'PSModuleDevelopment.Validate.File')]
4545
[string]
4646
$Path,
4747

PSModuleDevelopment/functions/script/Set-PSMDStagingRepository.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
[CmdletBinding()]
2727
param (
2828
[Parameter(Mandatory = $true, ParameterSetName = 'Path')]
29-
[PsfValidateScript('PSModuleDevelopment.Validate.File', ErrorString = 'PSModuleDevelopment.Validate.File')]
29+
[PsfValidateScript('PSModuleDevelopment.Validate.Path', ErrorString = 'PSModuleDevelopment.Validate.Path')]
3030
[string]
3131
$Path,
3232

@@ -43,7 +43,7 @@
4343
{
4444
Unregister-PSRepository -Name PSMDStaging
4545
}
46-
Register-PSRepository -Name PSMDStaging -SourceLocation $Path -PublishLocation $Path -InstallationPolicy Trusted -PackageManagementProvider
46+
Register-PSRepository -Name PSMDStaging -SourceLocation $Path -PublishLocation $Path -InstallationPolicy Trusted
4747
Set-PSFConfig -Module PSModuleDevelopment -Name 'Script.StagingRepository' -Value PSMDStaging -PassThru | Register-PSFConfig
4848
}
4949
else

0 commit comments

Comments
 (0)