From abeedb07e07438ee5d704081c90971caf3e634aa Mon Sep 17 00:00:00 2001 From: Tunisiano187 Date: Thu, 27 Jun 2024 17:17:19 +0200 Subject: [PATCH] vesion --- automatic/openstego.install/update.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automatic/openstego.install/update.ps1 b/automatic/openstego.install/update.ps1 index 5279810fe..fda10ef16 100644 --- a/automatic/openstego.install/update.ps1 +++ b/automatic/openstego.install/update.ps1 @@ -23,7 +23,7 @@ function global:au_GetLatest { $tags = Get-GitHubRelease -OwnerName $Owner -RepositoryName $repo -Latest $url32 = $tags.assets.browser_download_url | Where-Object {$_ -match ".exe$"} Update-Metadata -key "releaseNotes" -value $tags.html_url - $version = $tags.tag_name.Replace('v','') + $version = $tags.tag_name.Replace('v','').Split('-') | Where-Object {$_ -match '\.'} if($tags.prerelease -match "true") { $date = $tags.published_at.ToString("yyyyMMdd") $version = "$version-pre$($date)"