Skip to content

Commit

Permalink
Fix tag mismatches between WebUI C and go-webui
Browse files Browse the repository at this point in the history
where one is using `v` prefix `v<x.x.x>` and the other not `<x.x.x>`
  • Loading branch information
ttytm committed May 27, 2024
1 parent 7603cfc commit a737db9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ if ($local -eq $true)
}

# Verify that module package is installed.
$module_path = Join-Path $go_path "pkg\mod\$module@$webui_version"
$module_path = Join-Path $go_path "pkg\mod\$module@v$webui_version"
if (-not (Test-Path $module_path -PathType Container))
{
Write-Host "Error: '$module_path' does not exist in GOPATH."
Write-Host "Make sure to run 'go get $module@$webui_version' first."
Write-Host "Make sure to run 'go get $module@v$webui_version' first."
exit 1
}

Expand Down
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ else
fi

# Verify that module package is installed.
module_path="$go_path/pkg/mod/$module@$webui_version"
module_path="$go_path/pkg/mod/$module@v$webui_version"
if [ ! -d "$module_path" ]; then
echo "Error: \`$module_path\` does not exist in GOPATH."
echo "Make sure to run \`go get $module@$webui_version\` first."
echo "Make sure to run \`go get $module@v$webui_version\` first."
exit 1
fi

Expand Down

0 comments on commit a737db9

Please sign in to comment.