ci: ensure we are on main before running

This commit is contained in:
Aaron Bieber 2023-05-24 06:04:58 -06:00
parent 84ca1a3c64
commit 1e387eb76a
No known key found for this signature in database

1
bin/ci
View File

@ -24,6 +24,7 @@ if [ $can_sign != 1 ]; then
exit 1 exit 1
fi fi
git checkout main || handle_co_fail "main"
git pull || handle_pull_fail git pull || handle_pull_fail
if [ "${1}" = "update" ]; then if [ "${1}" = "update" ]; then