From 80b028068f6c39940c9e5c0e0e24bedbd244801f Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Tue, 21 May 2019 18:25:11 -0700 Subject: [PATCH] update deploy script --- deploy.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/deploy.sh b/deploy.sh index 59dc8cf..efb77ef 100644 --- a/deploy.sh +++ b/deploy.sh @@ -22,3 +22,15 @@ git push origin master # Come Back up to the Project Root cd .. + +# Commit submodule change. +msg="updating submodule" +if [ $# -eq 1 ] + then msg="$1" +fi +git commit -m "$msg" + +# Push repo. +git push origin master + +echo -e "Done."