ari.lt/scripts/git.sh
Ari Archer b6d8cd0751 update @ Tue 3 May 23:54:43 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-05-03 23:54:43 +03:00

16 lines
280 B
Bash
Executable file

#!/usr/bin/env sh
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 "$@"