Skip to content

Commit 72551c1

Browse files
author
Robin Stolpe
committed
update
1 parent 6fa9cee commit 72551c1

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.src/private/function/Confirm-RSWinGet.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
}
7575

7676
# Checking if the installed version of WinGet are the same as the latest version of WinGet
77-
if ($WinGet -lt $GitHubInfo.Tag) {
77+
if ([Version]$WinGet -lt [Version]$GitHubInfo.Tag) {
7878
Write-Output "WinGet has a newer version $($GitHubInfo.Tag), downloading and installing it..."
7979
Invoke-WebRequest -UseBasicParsing -Uri $GitHubInfo.DownloadUrl -OutFile $GitHubInfo.OutFile
8080

RSModuleBuilder.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
[string]$Author = "Robin Stolpe"
55
[string]$Mail = "robin@stolpe.io"
66
[string]$Website = "https://stolpe.io"
7-
[string]$preRelease = ""
7+
[string]$preRelease = "beta"
88
[string]$Company = "Stolpe.io"
99
[string]$apiKey = ""
1010
#
1111
# Changes on every build
12-
[string]$Version = "0.0.9"
12+
[string]$Version = "0.1.0"
1313
[string]$PowerShellVersion = "5.1"
1414
[string]$Tags = '"windows", "maintenance", "autoupdate", "autoupdate-script", "psmodule", "update", "winget", "windows10", "windows11"'
1515
[string]$ProcessorArchitecture = ""

WinSoftwareUpdate/WinSoftwareUpdate.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
RootModule = '.\WinSoftwareUpdate.psm1'
3737

3838
# Version number of this module.
39-
ModuleVersion = '0.0.9'
39+
ModuleVersion = '0.1.0'
4040

4141
# Supported PSEditions
4242
# CompatiblePSEditions = @()
@@ -134,7 +134,7 @@
134134
ReleaseNotes = 'https://github.com/rstolpe/WinSoftwareUpdate/releases'
135135

136136
# Prerelease string of this module
137-
Prerelease = ''
137+
Prerelease = 'beta'
138138

139139
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
140140
RequireLicenseAcceptance = $false

WinSoftwareUpdate/WinSoftwareUpdate.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Function Confirm-RSWinGet {
177177
}
178178

179179
# Checking if the installed version of WinGet are the same as the latest version of WinGet
180-
if ($WinGet -lt $GitHubInfo.Tag) {
180+
if ([Version]$WinGet -lt [Version]$GitHubInfo.Tag) {
181181
Write-Output "WinGet has a newer version $($GitHubInfo.Tag), downloading and installing it..."
182182
Invoke-WebRequest -UseBasicParsing -Uri $GitHubInfo.DownloadUrl -OutFile $GitHubInfo.OutFile
183183

0 commit comments

Comments
 (0)