kos/scripts/git.sh
Ari Archer 927887a3c4
Add docs for preserving auth
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-08-29 22:44:43 +03:00

18 lines
270 B
Bash
Executable file

#!/usr/bin/env sh
set -e
main() {
if [ ! "$NO_TEST" ]; then
./scripts/test/full.sh
printf 'Press enter to continue'
read -r
fi
git add -A
git commit -sa
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
}
main "$@"