Skip to content

Commit b15f546

Browse files
committed
Fix shfmt errors
1 parent 3ae7b74 commit b15f546

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

script/release

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ BLUE='\033[0;34m'
2828
latest_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
2929

3030
if [[ -z "$latest_tag" ]]; then
31-
# There are no existing release tags
32-
echo -e "No tags found (yet) - Continue to create and push your first tag"
33-
latest_tag="[unknown]"
31+
# There are no existing release tags
32+
echo -e "No tags found (yet) - Continue to create and push your first tag"
33+
latest_tag="[unknown]"
3434
fi
3535

3636
# Display the latest release tag
@@ -42,11 +42,11 @@ read -r -p 'Enter a new release tag (vX.X.X format): ' new_tag
4242
# Validate the new release tag
4343
tag_regex='v[0-9]+\.[0-9]+\.[0-9]+$'
4444
if echo "$new_tag" | grep -q -E "$tag_regex"; then
45-
echo -e "Tag: ${BLUE}$new_tag${OFF} is valid"
45+
echo -e "Tag: ${BLUE}$new_tag${OFF} is valid"
4646
else
47-
# Release tag is not `vX.X.X` format
48-
echo -e "Tag: ${BLUE}$new_tag${OFF} is ${RED}not valid${OFF} (must be in vX.X.X format)"
49-
exit 1
47+
# Release tag is not `vX.X.X` format
48+
echo -e "Tag: ${BLUE}$new_tag${OFF} is ${RED}not valid${OFF} (must be in vX.X.X format)"
49+
exit 1
5050
fi
5151

5252
# Tag the new release

0 commit comments

Comments
 (0)