Skip to content

Commit

Permalink
Appended _path to path var names for readability ↞ [auto-sync from h…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Dec 9, 2024
1 parent edd3e97 commit 10f0d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BG="\033[1;92m" # bright green
BW="\033[1;97m" # bright white

# Init manifest PATH
manifest="chromium/extension/manifest.json"
manifest_path="chromium/extension/manifest.json"

# BUMP version
echo -e "${BY}\nBumping version in ${manifest}...${NC}\n"
Expand All @@ -25,7 +25,7 @@ elif [[ $old_ver == "$TODAY."* ]] ; then
new_ver="$TODAY.$((LAST_NUMBER + 1))"
else new_ver="$TODAY" ; fi
new_versions+=("$new_ver")
sed -i "s/\"version\": \"$old_ver\"/\"version\": \"$NEW_VER\"/" "$manifest"
sed -i "s/\"version\": \"$old_ver\"/\"version\": \"$new_ver\"/" "$manifest_path"
echo -e "Updated: ${BW}v${old_ver}${NC}${BG}v${NEW_VER}${NC}"
((bumped_cnt++))

Expand Down

0 comments on commit 10f0d4f

Please sign in to comment.