Skip to content

Commit

Permalink
prevented word splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
undergroundwires committed Jul 25, 2020
1 parent c1fb9bc commit a3fe9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bump-and-tag-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tag_and_push() {

increase_patch_version() {
local -r version="$1"
local -r version_bits=(${version//./ }) # Replace . with space so can split into an array
local -r version_bits=("${version//./ }") # Replace . with space so can split into an array
local -r major=${version_bits[0]}
local -r minor=${version_bits[1]}
local patch=${version_bits[2]}
Expand Down

0 comments on commit a3fe9c3

Please sign in to comment.