From e0b952922d50db53076f8e7e2bda33c15334f787 Mon Sep 17 00:00:00 2001 From: Christian Skarby Date: Wed, 23 Aug 2023 12:34:56 +0200 Subject: [PATCH] further development --- update-github.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/update-github.sh b/update-github.sh index e2f9908..3dda013 100755 --- a/update-github.sh +++ b/update-github.sh @@ -1,12 +1,11 @@ #/bin/bash # Pass commit message as first parameter if [ -z "${1}" ]; then - echo "ERROR: No commit message provided. Please see usage below for an example." >>/dev/stderr + echo "Warning: No commit message provided. Please see usage below for an example." >>/dev/stderr echo "Usage: $0 \"What I changed and why\"" >>/dev/stderr - exit 1 fi cd $(dirname $0) -git add . -git commit -m "${1}" +git add ocdp/*/*.R ocdp/*/*.sh *.sh +git commit -m "${1:-further development}" git pull --ff git push