Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit ceb60e9

Browse files
authored
Update module version (#382) (#389)
1 parent d1b7e26 commit ceb60e9

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Changelog
2+
## 2.0.4
3+
Bug Fix
4+
* Remove PSGallery availability checks (#374)
5+
26
## 2.0.3
37
Bug fixes and Improvements
48
* Fix CommandAlreadyAvailable error for PackageManagement module (#333)

src/PowerShellGet/PowerShellGet.psd1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@{
22
RootModule = 'PSModule.psm1'
3-
ModuleVersion = '2.0.3'
3+
ModuleVersion = '2.0.4'
44
GUID = '1d73a601-4a6c-43c5-ba3f-619b18bbb404'
55
Author = 'Microsoft Corporation'
66
CompanyName = 'Microsoft Corporation'
@@ -54,6 +54,11 @@ PrivateData = @{
5454
ProjectUri = 'https://go.microsoft.com/fwlink/?LinkId=828955'
5555
LicenseUri = 'https://go.microsoft.com/fwlink/?LinkId=829061'
5656
ReleaseNotes = @'
57+
## 2.0.4
58+
59+
Bug Fix
60+
* Remove PSGallery availability checks (#374)
61+
5762
## 2.0.3
5863
5964
Bug fixes and Improvements

tools/build.psm1

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ function Install-PackageManagement {
103103

104104
$FindModule_params = @{
105105
Name = $OneGetModuleName
106-
# Temporarily add RequiredVersion param until Package Management version greater than version 1.2.3 is released
107-
# Due to minor bug in Package Management causing PSGet test failures
108-
RequiredVersion = '1.2.2'
109106
}
110107
if ($PSVersionTable.PSVersion -eq '5.1.14394.1000') {
111108
# Adding -MaximumVersion 1.1.7.0 as AppVeyor VM with WMF 5 is not installed with latest root CA certificates
@@ -122,9 +119,7 @@ function Install-PackageManagement {
122119
$null = Microsoft.PowerShell.Management\New-Item -Path $TempModulePath -Force -ItemType Directory
123120
$OneGetModuleName = 'PackageManagement'
124121
try {
125-
# Temporarily add version flag until Package Management version greater than version 1.2.3 is released
126-
# Due to minor bug in Package Management causing PSGet test failures
127-
& $NugetExeFilePath install $OneGetModuleName -source https://www.powershellgallery.com/api/v2 -outputDirectory $TempModulePath -verbosity detailed -version 1.2.2
122+
& $NugetExeFilePath install $OneGetModuleName -source https://www.powershellgallery.com/api/v2 -outputDirectory $TempModulePath -verbosity detailed
128123
$OneGetWithVersion = Microsoft.PowerShell.Management\Get-ChildItem -Path $TempModulePath -Directory
129124
$OneGetVersion = ($OneGetWithVersion.Name.Split('.', 2))[1]
130125

0 commit comments

Comments
 (0)