From 575f295f74e996160efacdc54b0ae0876a166526 Mon Sep 17 00:00:00 2001 From: Matteo Corti Date: Sun, 1 Oct 2023 21:48:00 +0200 Subject: [PATCH] Option file --- NEWS.md | 2 ++ RELEASE_NOTES.md | 2 +- VERSION | 2 +- update.sh | 8 +++++++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index eceddc5..301e846 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +* 2023-10-01, Version 2.3.0 + * Options can be specified in the ```~/.update.sh.rc``` file (no documentation yet) * 2023-09-04, Version 2.2.0 * Added ```--no-*``` options to skip updates * 2023-08-01, Version 2.1.0 diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index bde1097..c838fa1 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1 +1 @@ -Added ```--no-*``` options to skip updates +Options can be specified in the ```~/.update.sh.rc``` file (no documentation yet) diff --git a/VERSION b/VERSION index ccbccc3..276cbf9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.0 +2.3.0 diff --git a/update.sh b/update.sh index 52e644a..5553924 100755 --- a/update.sh +++ b/update.sh @@ -2,7 +2,7 @@ # Copyright (c) 2018-2023 Matteo Corti -VERSION=2.2.0 +VERSION=2.3.0 VERBOSE="" CLEAR="" @@ -73,6 +73,12 @@ usage() { ALL=1 +# source the settings file +if [ -r "${HOME}/.update.sh.rc" ] ; then + # shellcheck disable=SC1091 + . "${HOME}/.update.sh.rc" +fi + while true; do case "$1" in