Skip to content

Commit

Permalink
Eliminated unneeded manifest_prefix init, shortened assignments ↞ […
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Dec 23, 2024
1 parent ddd054f commit eb95b72
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ for manifest_path in "${MANIFEST_PATHS[@]}" ; do
fi

# Echo begin bump
manifest_prefix=""
if [ "$chromium_only" = true ] ; then manifest_prefix="Chromium "
elif [ "$ff_only" = true ] ; then manifest_prefix="Firefox " ; fi
echo "Bumping version in ${manifest_prefix}manifest..."
if [ "$chromium_only" = true ] ; then manifest_prefix="Chromium"
elif [ "$ff_only" = true ] ; then manifest_prefix="Firefox" ; fi
echo "Bumping version in ${manifest_prefix} manifest..."

# Determine old/new versions
old_ver=$(sed -n 's/.*"version": *"\([0-9.]*\)".*/\1/p' "$manifest_path")
Expand Down

0 comments on commit eb95b72

Please sign in to comment.