Define branch after get_release

This commit is contained in:
billz 2020-12-16 10:44:30 +00:00
parent 3771ef5b6a
commit 237d561090
1 changed files with 2 additions and 3 deletions

View File

@ -36,10 +36,9 @@ set -eo pipefail
function _main() {
# set defaults
repo="billz/raspap-webgui" # override with -r, --repo option
branch="$RASPAP_LATEST" # override with -b, --branch option
_parse_params "$@"
_get_release
branch="$RASPAP_LATEST" # override with -b, --branch option
_parse_params "$@"
_setup_colors
_log_output
_load_installer