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.
|
|
|
#Adds a commit message and pushes project to github repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
source utils/search.sh
|
|
|
|
|
|
|
|
find . -type f -name md5 -delete
|
|
|
|
|
|
|
|
#Generate a new hash for every sub-directory, which may require an update.
|
|
|
|
FILES=$(cat utils/.updateDirectories)
|
|
|
|
COMMIT_MESSAGE="$*"
|
|
|
|
FIRST_LINE=true
|
|
|
|
while IFS= read -r line
|
|
|
|
do
|
|
|
|
if [ "$FIRST_LINE" = true ]; then
|
|
|
|
COMMIT_MESSAGE+="
|
|
|
|
|
|
|
|
Co-authored-by: $line"
|
|
|
|
FIRST_LINE=false
|
|
|
|
else
|
|
|
|
COMMIT_MESSAGE+="
|
|
|
|
Co-authored-by: $line"
|
|
|
|
fi
|
|
|
|
done < utils/.coauthors
|
|
|
|
for f in $FILES
|
|
|
|
do
|
|
|
|
search $f
|
|
|
|
done
|
|
|
|
git add -u
|
|
|
|
git add *
|
|
|
|
git commit -m "$COMMIT_MESSAGE"
|
|
|
|
git push
|