scripts: Add odin upgrade

This commit is contained in:
Joseph Ferano 2025-10-13 11:09:40 +07:00
parent 9937e9db3f
commit 06ba9c724f

12
.local/scripts/upgrade-odin.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -e
odin_path="/home/joe/.local/bin/odin"
# git pull
make -j15 release-native
rm -rf $odin_path/core $odin_path/base $odin_path/vendor
cp -r -t $odin_path ./core ./base ./vendor ./odin