Skip to content

Commit

Permalink
Install specific older mise version to workaround bugs
Browse files Browse the repository at this point in the history
Don't understand the workarounds, so will pin on a version which works without hassle.

jdx/mise#2196
  • Loading branch information
chadlwilson committed Jul 3, 2024
1 parent 897ffb0 commit 66e8655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provision/provision-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function setup_git_config() {

# Install multi-tool version manager mise: https://mise.jdx.dev/
function install_mise_tools() {
try su - "${PRIMARY_USER:-go}" -c "curl https://mise.jdx.dev/install.sh | sh"
try su - "${PRIMARY_USER:-go}" -c "curl https://mise.run | MISE_VERSION=v2024.5.12 sh"
try su - "${PRIMARY_USER:-go}" -c "mise -v && mise use --global ${*}"
try su - "${PRIMARY_USER:-go}" -c "echo \"export PATH=\"\$HOME/.local/share/mise/shims:\$PATH\"\" >> ~/.bash_profile"
}
Expand Down

0 comments on commit 66e8655

Please sign in to comment.