ari.lt/scripts/git.sh
Ari Archer 56be07ead7 Fixed script shbangs and add an entry to usage API
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-09-28 21:30:13 +03:00

16 lines
254 B
Bash
Executable file

#!/usr/bin/env sh
set -e
main() {
printf '%s' 'Make sure you added an entry to api/usage.json'
read -r
git diff >/tmp/ari-web.diff
git add -A
git commit -sa
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
}
main "$@"