From 343e1e853b076fde0287d57e108b11a0ef56a6ac Mon Sep 17 00:00:00 2001 From: Kazuki Okamoto Date: Fri, 21 May 2021 14:47:31 +0900 Subject: [PATCH] bump version 4.4 fix a bug --- ChangeLog.md | 6 ++++++ ghcups.psd1 | 6 +++--- ghcups.psm1 | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 7663607..3faddae 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,11 @@ # Change log +## 4.4 + +*2021.05.19* + +Fix a bug that `Install-Ghc` adds an unexpected “)”. + ## 4.3 *2021.05.19* diff --git a/ghcups.psd1 b/ghcups.psd1 index 2ac3a1c..45eabbb 100644 --- a/ghcups.psd1 +++ b/ghcups.psd1 @@ -12,7 +12,7 @@ RootModule = 'ghcups.psm1' # このモジュールのバージョン番号です。 -ModuleVersion = '4.3' +ModuleVersion = '4.4' # サポートされている PSEditions # CompatiblePSEditions = @() @@ -98,7 +98,7 @@ PrivateData = @{ Tags = @('Haskell', 'GHC', 'PSEdition_Core', 'Windows') # このモジュールのライセンスの URL。 - LicenseUri = 'https://github.com/kakkun61/ghcups/blob/4.3/LICENSE' + LicenseUri = 'https://github.com/kakkun61/ghcups/blob/4.4/LICENSE' # このプロジェクトのメイン Web サイトの URL。 ProjectUri = 'https://github.com/kakkun61/ghcups' @@ -107,7 +107,7 @@ PrivateData = @{ # IconUri = '' # このモジュールの ReleaseNotes - ReleaseNotes = 'https://github.com/kakkun61/ghcups/blob/4.3/ChangeLog.md' + ReleaseNotes = 'https://github.com/kakkun61/ghcups/blob/4.4/ChangeLog.md' ExternalModuleDependencies = @('Microsoft.PowerShell.Management', 'Microsoft.PowerShell.Utility') diff --git a/ghcups.psm1 b/ghcups.psm1 index 29eb02c..d2cf74b 100644 --- a/ghcups.psm1 +++ b/ghcups.psm1 @@ -352,7 +352,7 @@ function Install-Ghc { break } if ($meta -is [hashtable] -and $meta['version'] -eq $Version) { - Move-Item -Path "$(Get-GhcupsInstall)\$($meta['directory'])" -Destination "$(Get-GhcupsInstall)\ghc-$Version)" + Move-Item -Path "$(Get-GhcupsInstall)\$($meta['directory'])" -Destination "$(Get-GhcupsInstall)\ghc-$Version" break } }