shell-scripts/solus_utility/solus_goto_oct.sh
Tracey Clark 6aa44ea7e8 Solus scripts update
Move all solus scripts to their own directory
Add script to go to oct tool in infra repo
2024-02-03 16:33:14 -06:00

23 lines
538 B
Bash
Executable file

#!/usr/bin/env bash
# Update solus infra repo and get to oct directory
# Used when emailing OC backers
function update_repos() {
printf "[INFO] Updating the Solus package repo\n"
gotosoluspkgs
git switch main
git fetch && git pull
printf "[INFO] Updating the Solus infrastructure-tooling repo \n"
cd infrastructure-tooling
git switch master
git fetch && git pull
printf "[INFO] Switching to the oct directory\n"
cd oct
exec bash
}
source ~/.bashrc.d/solus-monorepo-helpers.sh
update_repos