-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
44 lines (31 loc) · 1.09 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# Enable strict mode
set -u
### Begin define variables ###
# Define the home directory of Bumpster
BUMPSTER_HOME="${BUMPSTER_HOME:-$HOME/.bumpster}"
# Global and local config file paths
global_config_file="$HOME/.bumpsterrc"
local_config_file="$(pwd)/.bumpsterrc"
# Define default log file name (can be overridden in .bumpsterrc)
default_log_file="bumpster.log"
log_file="$default_log_file"
# Define the bin directory
bin_dir="$BUMPSTER_HOME/bin"
# Default values
default_master_branch="master"
default_develop_branch="develop"
default_logging="false"
# Config variables
master_branch=""
develop_branch=""
logging_enabled=""
# URL to download the latest version of Bumpster
version_url="https://github.com/phoenixweiss/Bumpster/archive/refs/heads/main.tar.gz"
# Define remote version file location
remote_version_file="https://raw.githubusercontent.com/phoenixweiss/Bumpster/main/VERSION"
# Define version file location
local_version_file="$BUMPSTER_HOME/VERSION"
# Define the path to the Bumpster logo file
logo_file="$BUMPSTER_HOME/lib/BUMPSTER_LOGO.ASCII"
### End define variables ###