Skip to content

Commit

Permalink
fix: refix
Browse files Browse the repository at this point in the history
  • Loading branch information
bendevcat committed Oct 20, 2021
1 parent cc7585a commit 4b5164d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -65,7 +65,7 @@ is_latest_commit_tagged() {
main() {
if ! repository_has_any_tags; then
echo "No tag is present in the repository."
tag_and_push $DEFAULT_VERSION
tag_and_push "$DEFAULT_VERSION"
exit 0
fi
if is_latest_commit_tagged; then
Expand Down

0 comments on commit 4b5164d

Please sign in to comment.