Skip to content

Commit ccbc113

Browse files
committed
Install the latest Rivet v3 engine
GitHub flags the v2 maintenance release (2.3.32) as latest, so the install fetched the v2 engine, which needs a start subcommand and rejects the v3 config, and never listened on 6420.
1 parent f1b8270 commit ccbc113

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎ct/rivet.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function update_script() {
3535
exit
3636
fi
3737

38-
if check_for_gh_release "rivet" "rivet-dev/rivet"; then
38+
if check_for_gh_release "rivet" "rivet-dev/rivet" "" "" "v3."; then
3939
msg_info "Downloading Rivet Engine ${CHECK_UPDATE_RELEASE#v}"
4040
curl_with_retry "https://releases.rivet.dev/rivet/${CHECK_UPDATE_RELEASE#v}/engine/rivet-engine-$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl" /opt/rivet/rivet-engine.new
4141
chmod +x /opt/rivet/rivet-engine.new

‎install/rivet-install.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ setting_up_container
1313
network_check
1414
update_os
1515

16-
RIVET_VERSION="${var_appversion:-$(get_latest_github_release "rivet-dev/rivet")}"
16+
# GitHub flags the v2 maintenance releases as latest; this config and API are v3
17+
check_for_gh_release "rivet" "rivet-dev/rivet" "${var_appversion:-}" "" "v3."
18+
RIVET_VERSION="$CHECK_UPDATE_RELEASE"
1719
msg_info "Installing Rivet Engine ${RIVET_VERSION#v}"
1820
mkdir -p /opt/rivet
1921
curl_with_retry "https://releases.rivet.dev/rivet/${RIVET_VERSION#v}/engine/rivet-engine-$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl" /opt/rivet/rivet-engine

0 commit comments

Comments
 (0)