[Bug]: 0.5.8 keeps prompting me to update
Current Behavior (bug) I keep seeing this prompt everytime I open new shell session, eventhough I have updated it to version 0.5.8
Ensuring packages are installed.
Ensuring packages are installed.
Info: New devbox available: 0.5.7 -> v0.5.8. Please run `devbox version update`.
Expected Behavior (fix) After update to 0.5.8, it shouldn't prompt me this notice anymore
Additional context
Please include the output of devbox version -v and
a copy of your devbox.json file.
my global devbox.json
{
"packages": [
"go@latest",
"[email protected]",
"terraform@latest",
"terragrunt@latest",
"kubergrunt@latest",
"kubectx@latest",
"awscli2@latest",
"stern@latest",
"git@latest",
"htop@latest",
"gh@latest",
"glab@latest",
"fzf@latest",
"ripgrep@latest",
"lazygit@latest",
"jq@latest",
"yq@latest",
"neovim@latest",
"neofetch@latest",
"btop@latest",
"cheat@latest",
"tree-sitter@latest",
"nodejs@latest",
"python3Full@latest",
"bat@latest",
"direnv@latest",
"oh-my-zsh@latest",
"postgresql@latest",
"gomplate@latest"
],
"env": {
"DEVBOX_GLOBAL_PREFIX": "$HOME/.local/share/devbox/global/default/.devbox/nix/profile/default",
"DEVBOX_GLOBAL_ROOT": "$HOME/.local/share/devbox/global/current"
},
"shell": {
"init_hook": [
". ${DEVBOX_GLOBAL_ROOT}/init.sh"
],
"scripts": {
"install-hook-bash": [
"echo adding 'devbox global shellenv' to ~/.bashrc",
"grep -qF 'devbox global shellenv' ~/.bashrc || echo 'eval \"$(devbox global shellenv --init-hook)\"' >> ~/.bashrc",
"tail -n 1 ~/.bashrc"
],
"install-hook-zsh": [
"echo adding 'devbox global shellenv' to ~/.zshrc",
"grep -qF 'devbox global shellenv' ~/.zshrc || echo 'eval \"$(devbox global shellenv --init-hook)\"' >> ~/.zshrc",
"tail -n 1 ~/.zshrc"
],
"latest-hash": [
"curl -fsSL https://nixos.org/channels/nixos-unstable/git-revision"
],
"npm-global": [
"grep -qF '.npm-packages' ~/.npmrc || echo 'prefix=~/.npm-packages' >> ~/.npmrc",
"grep -qF '.npm-packages' ~/.zshrc || echo 'export PATH=$PATH:~/.npm-packages/bin' >> ~/.zshrc",
"grep -qF '.npm-packages' ~/.bashrc || echo 'export PATH=$PATH:~/.npm-packages/bin' >> ~/.bashrc",
"mkdir -p ~/.npm-packages"
]
}
},
"nixpkgs": {}
}
Hey @bangau1, try running devbox global install to see if that clears the notification. We should have a fix out first thing in the morning.
@Lagoja thanks for the tips, your suggestion works! Should I close this issue?
Thanks for reporting back @bangau1. If everything works then we can close this out.