Respect rc too

This commit is contained in:
David Heinemeier Hansson
2026-01-31 21:52:09 +01:00
parent 5a9f0318e8
commit 7c9708d647

View File

@@ -3,7 +3,7 @@
# Set the branch for Omarchy's git repository.
if (($# == 0)); then
echo "Usage: omarchy-branch-set [master|dev]"
echo "Usage: omarchy-branch-set [master|rc|dev]"
exit 1
else
branch="$1"
@@ -11,6 +11,7 @@ fi
case "$branch" in
"master") git -C $OMARCHY_PATH switch master ;;
"rc") git -C $OMARCHY_PATH switch rc ;;
"dev") git -C $OMARCHY_PATH switch dev ;;
*) echo "Unknown branch: $branch"; exit 1; ;;
esac