Skip to content

Commit a737db9

Browse files
committed
Fix tag mismatches between WebUI C and go-webui
where one is using `v` prefix `v<x.x.x>` and the other not `<x.x.x>`
1 parent 7603cfc commit a737db9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

setup.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ if ($local -eq $true)
110110
}
111111

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

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ else
109109
fi
110110

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

0 commit comments

Comments
 (0)