We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cf721e commit b1b3919Copy full SHA for b1b3919
scripts/install.sh
@@ -229,10 +229,15 @@ main() {
229
command_exists ${common_deps} tar
230
fi
231
232
- # Get latest version from GitHub
+ # Get version (use VERSION env var if provided, otherwise get latest)
233
local version
234
- version="$(get_latest_version)"
235
- log_info "Latest version: ${version}"
+ if [ -n "${VERSION:-}" ]; then
+ version="${VERSION}"
236
+ log_info "Using specified version: ${version}"
237
+ else
238
+ version="$(get_latest_version)"
239
+ log_info "Latest version: ${version}"
240
+ fi
241
242
# Install binary
243
install_binary "${version}" "${platform}"
0 commit comments