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

Update module version #382

Merged
merged 1 commit into from
Dec 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## 2.0.4
Bug Fix
* Remove PSGallery availability checks (#374)

## 2.0.3
Bug fixes and Improvements
* Fix CommandAlreadyAvailable error for PackageManagement module (#333)
Expand Down
7 changes: 6 additions & 1 deletion src/PowerShellGet/PowerShellGet.psd1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@{
RootModule = 'PSModule.psm1'
ModuleVersion = '2.0.3'
ModuleVersion = '2.0.4'
GUID = '1d73a601-4a6c-43c5-ba3f-619b18bbb404'
Author = 'Microsoft Corporation'
CompanyName = 'Microsoft Corporation'
Expand Down Expand Up @@ -54,6 +54,11 @@ PrivateData = @{
ProjectUri = 'https://go.microsoft.com/fwlink/?LinkId=828955'
LicenseUri = 'https://go.microsoft.com/fwlink/?LinkId=829061'
ReleaseNotes = @'
## 2.0.4

Bug Fix
* Remove PSGallery availability checks (#374)

## 2.0.3

Bug fixes and Improvements
Expand Down
7 changes: 1 addition & 6 deletions tools/build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ function Install-PackageManagement {

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

Expand Down