Skip to content

Commit 24dcebf

Browse files
committed
Replaced numeric conditional expressions w/ (( ... )) syntax for improved efficiency/readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
1 parent a3331ee commit 24dcebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/bump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ echo -e "Updated: ${BW}v${old_ver}${NC} → ${BG}v${new_ver}${NC}\n"
4444
((bumped_cnt++))
4545

4646
# COMMIT/PUSH bump(s)
47-
if [[ $bumped_cnt -eq 0 ]] ; then echo -e "${BW}Completed. No manifests bumped.${NC}"
47+
if (( $bumped_cnt == 0 )) ; then echo -e "${BW}Completed. No manifests bumped.${NC}"
4848
else
4949
echo -e "${BY}Committing bump to Git...${NC}"
5050
#git add ./**/manifest.json && git commit -n -m "Bumped \`version\` to $NEW_VER"

0 commit comments

Comments
 (0)