Repository to hold all scripts used for building and deploying projects of all required programming languages. Scripts should be self-updating.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SigScript/Java/scripts/commit.sh

13 lines
255 B

#Adds a commit message and pushes project to github repository.
#Java
AUTHORS=$(cat utils/.coauthors)
COMMIT_MESSAGE="$*"
for a in $AUTHORS
do
COMMIT_MESSAGE+="
Co-authored-by: $a"
done
git add -u
git add *
git commit -m "$COMMIT_MESSAGE"
git push