Skip to content

Commit

Permalink
vesion
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Jun 27, 2024
1 parent 104b39f commit abeedb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automatic/openstego.install/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit abeedb0

Please sign in to comment.