Skip to content

Commit

Permalink
depot_tools uses "main" not "master" (I guess this hasn't been update…
Browse files Browse the repository at this point in the history
…d in a while)
  • Loading branch information
stevenmcdonald committed Jul 2, 2024
1 parent 563b01a commit 22f042e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/checkout-to-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COMMIT_DATE=$(git log -n 1 --pretty=format:%ci)
# 2020-01-06 04:54:58 +0000

cd "$DEPOT_TOOLS_ROOT" || exit 2
git checkout master && git pull && git checkout "$(git rev-list -n 1 --before="$COMMIT_DATE" master)"
git checkout main && git pull && git checkout "$(git rev-list -n 1 --before="$COMMIT_DATE" main)"

cd "$CHROMIUM_SRC_ROOT" || exit 3
git clean -ffd # --dry-run
Expand Down

0 comments on commit 22f042e

Please sign in to comment.