From ae895bf7340b5c40a43e66f36ad5ac3cbcf72aae Mon Sep 17 00:00:00 2001 From: Trudy Date: Thu, 28 Sep 2023 19:40:16 -0700 Subject: [PATCH] Publish v3.0.428 --- CHANGELOG.md | 3 ++- Pub/Common.ps1 | 4 ++-- Pub/Version.json | 4 ++-- VpnHood.Client.Device/VpnHood.Client.Device.csproj | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bac74095..1e22b8837 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ -# v3.0.427 +# v3.0.428 ### Server * Fix: Certificate was not updated immediately by Access Manager +* Fix: AutoUpdater # v3.0.427 ### Client diff --git a/Pub/Common.ps1 b/Pub/Common.ps1 index a62a0dae2..35ba74ade 100644 --- a/Pub/Common.ps1 +++ b/Pub/Common.ps1 @@ -98,13 +98,13 @@ function PrepareModuleFolder([string]$moduleDir, [string]$moduleDirLatest) function UpdateRepoVersionInFile() { $files = Get-ChildItem -Path @($packagesRootDirLatest, $moduleGooglePlayLastestDir) ` - -File -Recurse | Where-Object { $_.Extension -eq '.json' -or $_.Extension -eq '.txt' -or $_.Extension -eq '.sh' -or $_.Extension -eq '.ps1' } + -File -Recurse | Where-Object { $_.Extension -eq '.json' -or $_.Extension -eq '.txt' -or $_.Extension -eq '.sh' } # Loop through each file and apply the change foreach ($file in $files) { $fileContent = Get-Content $file.FullName -Raw; $fileContent = $fileContent -replace "/download/v(\d+\.\d+\.\d+)/", "/download/$versionTag/"; - Set-Content -Path $file.FullName -Value $fileContent + Set-Content -Path $file.FullName -Value $fileContent -Encoding ASCII -Force -NoNewline } } \ No newline at end of file diff --git a/Pub/Version.json b/Pub/Version.json index bc81e186a..a862906dc 100644 --- a/Pub/Version.json +++ b/Pub/Version.json @@ -1,6 +1,6 @@ { - "Version": "3.0.427", - "BumpTime": "2023-09-28T21:39:53.5733153Z", + "Version": "3.0.428", + "BumpTime": "2023-09-29T02:36:04.7445112Z", "Prerelease": false, "DeprecatedVersion": "3.0.400" } diff --git a/VpnHood.Client.Device/VpnHood.Client.Device.csproj b/VpnHood.Client.Device/VpnHood.Client.Device.csproj index 051e903dc..4c1eaba21 100644 --- a/VpnHood.Client.Device/VpnHood.Client.Device.csproj +++ b/VpnHood.Client.Device/VpnHood.Client.Device.csproj @@ -11,8 +11,8 @@ https://github.com/vpnhood/vpnhood VpnHood.Client.Device - 3.0.427 - 3.0.427 + 3.0.428 + 3.0.428 $([System.DateTime]::Now.ToString("yyyy.M.d.HHmm")) enable latest