Solus scripts update
Move all solus scripts to their own directory Add script to go to oct tool in infra repo
This commit is contained in:
parent
a6eb16a24b
commit
6aa44ea7e8
4 changed files with 23 additions and 0 deletions
23
solus_utility/solus_goto_oct.sh
Executable file
23
solus_utility/solus_goto_oct.sh
Executable file
|
|
@ -0,0 +1,23 @@
|
||||||
|
#!/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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue