We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10bc5fa commit 4244dc7Copy full SHA for 4244dc7
aztec-up/bin/aztec-install
@@ -131,9 +131,13 @@ function install_jq {
131
}
132
133
function install_aztec_up {
134
- # Download aztec-up from root (the canonical latest version).
135
- # aztec-up is a version manager, so it's not version-specific.
136
- curl -fsSL "$INSTALL_URI/aztec-up" -o "$shared_bin_path/aztec-up"
+ if [ -n "$VERSION" ]; then
+ # Download aztec-up from version dir (useful for testing).
+ curl -fsSL "$INSTALL_URI/$VERSION/aztec-up" -o "$shared_bin_path/aztec-up"
137
+ else
138
+ # Download aztec-up from root (the canonical latest version).
139
+ curl -fsSL "$INSTALL_URI/aztec-up" -o "$shared_bin_path/aztec-up"
140
+ fi
141
chmod +x "$shared_bin_path/aztec-up"
142
143
0 commit comments