ari.lt/scripts/git.sh

17 lines
280 B
Bash
Raw Normal View History

#!/usr/bin/env sh
2021-09-05 02:21:11 +03:00
set -e
main() {
./scripts/sass.sh
find . -name '_*.css' -or \
-name '*.sass.css' -type f -exec rm -rfv {} \;
git add -A
git commit -sam "${m:-update @ $(date)}"
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
}
main "$@"