Bump module version to 1.5.4 and update Invoke-GiteaFileDownload to handle URL encoded characters in file names. Update pester tests to account for changes.
All checks were successful
Publish Powershell Module to Gitea Repository / test (push) Successful in 10s
Publish Powershell Module to Gitea Repository / deploy (push) Successful in 32s

This commit is contained in:
2025-05-27 14:32:35 -04:00
parent b6a46b38bd
commit 08bf6a709c
3 changed files with 17 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
RootModule = 'PS-GiteaUtilities.psm1'
# Version number of this module.
ModuleVersion = '1.5.3'
ModuleVersion = '1.5.4'
# Supported PSEditions
# CompatiblePSEditions = @()

View File

@@ -476,6 +476,7 @@ Function Invoke-GiteaFileDownload {
}
$DownloadFilePath = [System.Uri]::UnescapeDataString($DownloadFilePath)
$DownloadFileName = [System.Uri]::UnescapeDataString($DownloadFileName)
if ($PreserveRelativePath -and $outputPath) {
# If PreserveRelativePath is used, set up the directory structure