mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
e0a4e2c215
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
25 lines
383 B
Bash
Executable file
25 lines
383 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
S='./scripts'
|
|
SCRIPTS=(sass apis)
|
|
|
|
main() {
|
|
for script in "${SCRIPTS[@]}"; do
|
|
_s="$S/$script.sh"
|
|
|
|
echo
|
|
echo " ** Script: $_s **"
|
|
echo
|
|
|
|
chmod +x -- "$_s"
|
|
"$_s"
|
|
done
|
|
|
|
git add -A
|
|
git commit -sam "${m:-update @ $(date)}"
|
|
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
|
|
}
|
|
|
|
main "$@"
|