Skip to content

Commit

Permalink
Get-GitHubRelease require switches
Browse files Browse the repository at this point in the history
Solve #2584
  • Loading branch information
tunisiano187 authored Dec 18, 2024
1 parent c06230f commit bc8daa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/jubler* @AdmiringWorm
*/juju* @AdmiringWorm
*/transifex* @chocolatey-community/chocolatey-team-maintainers
*/waterfox* @AdmiringWorm
*/waterfox* @AdmiringWorm @tunisiano187
*/composer* @johnstevenson
*/k9s* @danielkoek
*/krew* @jetersen
Expand Down
4 changes: 2 additions & 2 deletions automatic/waterfox/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function Get-Waterfox {
)
switch ($Build) {
"Classic" {
$LatestRelease = Get-GitHubRelease WaterfoxCo Waterfox-Classic
$LatestRelease = Get-GitHubRelease -OwnerName WaterfoxCo -RepositoryName Waterfox-Classic

@{
PackageName = "waterfox-classic"
Expand All @@ -61,7 +61,7 @@ function Get-Waterfox {
}

"Current" {
$LatestRelease = Get-GitHubRelease WaterfoxCo Waterfox
$LatestRelease = Get-GitHubRelease -OwnerName WaterfoxCo -RepositoryName Waterfox
$TagVersion = $LatestRelease.tag_name

@{
Expand Down

0 comments on commit bc8daa3

Please sign in to comment.