Skip to content

Commit 6380bfb

Browse files
committed
chore: release v2.1.2
1 parent cfa70f2 commit 6380bfb

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## FILE : #~NAME~#
44
## DESCRIPTION : Build script that merge source.sh and script.sh into one
55
## CREATED : #~TIME~#
6-
## TEMVER : v2.1.1
6+
## TEMVER : v2.1.2
77
## TEMURL : https://github.com/Silverbullet069/bash-script-template
88
## AUTHOR : ralish (https://github.com/ralish/)
99
## CONTRIBUTOR : Silverbullet069 (https://github.com/Silverbullet069/)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bash-script-template",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "A Bash scripting template incorporating best practices & several useful functions.",
55
"directories": {
66
"test": "tests"

script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## FILE : #~NAME~#
44
## DESCRIPTION : General Bash script template
55
## CREATED : #~TIME~#
6-
## TEMVER : v2.1.1
6+
## TEMVER : v2.1.2
77
## TEMURL : https://github.com/Silverbullet069/bash-script-template
88
## AUTHOR : ralish (https://github.com/ralish/)
99
## CONTRIBUTOR : Silverbullet069 (https://github.com/Silverbullet069/)
@@ -61,7 +61,7 @@ function parse_params() {
6161
# shellcheck disable=SC2015
6262
[[ "${#options[@]}" -eq 0 ]] && script_exit "No valid flags found in parse_params() function. Check the function implementation." 1 || true
6363

64-
# Initialize all flags with empty value
64+
# Initialize all flags with default value
6565
for option in "${!options[@]}"; do
6666
# NOTE: use "_option_*" as prefix
6767
declare -g "_option_${option}=${options[${option}]}"

source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## FILE : #~NAME~#
44
## DESCRIPTION : A sourced script that contains reusable functions
55
## CREATED : #~TIME~#
6-
## TEMVER : v2.1.1
6+
## TEMVER : v2.1.2
77
## TEMURL : https://github.com/Silverbullet069/bash-script-template
88
## AUTHOR : ralish (https://github.com/ralish/)
99
## CONTRIBUTOR : Silverbullet069 (https://github.com/Silverbullet069/)

template.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## FILE : #~NAME~#
44
## DESCRIPTION : General Bash script template
55
## CREATED : #~TIME~#
6-
## TEMVER : v2.1.1
6+
## TEMVER : v2.1.2
77
## TEMURL : https://github.com/Silverbullet069/bash-script-template
88
## AUTHOR : ralish (https://github.com/ralish/)
99
## CONTRIBUTOR : Silverbullet069 (https://github.com/Silverbullet069/)

0 commit comments

Comments
 (0)