src: add commit-ebuild, new-ebuild and update-submodules

This commit is contained in:
Maciej Barć
2020-12-19 13:28:47 +01:00
parent 3663b96dfb
commit d9cd15f648
3 changed files with 95 additions and 0 deletions

26
src/commit-ebuild Executable file
View File

@ -0,0 +1,26 @@
#!/bin/sh
trap 'exit 128' INT
set -e
export PATH
pdir="$(git rev-parse --show-prefix)"
FEATURES="sign"
export FEATURES
git add .
if [ -z "${1}" ]
then
repoman commit
else
repoman commit -m "${pdir%/}: ${*}"
fi
git pull --verbose
git push --verbose