Skip to content

Commit 737e9d9

Browse files
OrKoNDevtools-frontend LUCI CQ
authored andcommitted
Fix the version calculation script
Bug: none Change-Id: Ia3c24c2a1968ba85547e705e5bc24b5c11cc42f8 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6983149 Auto-Submit: Alex Rudenko <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Reviewed-by: Jack Franklin <[email protected]>
1 parent 39d56ad commit 737e9d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/devtools_version.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
22

3+
# Copyright 2025 The Chromium Authors
4+
# Use of this source code is governed by a BSD-style license that can be
5+
# found in the LICENSE file.
6+
37
# This script outputs the current DevTools version (e.g., `v1.0.1509326`) for
48
# GitHub Actions to apply as a git tag (see tag.yml).
59

@@ -12,7 +16,7 @@ chrome_version="$(cat DEPS | grep "'chrome'" | head -n1 | sed "s/[^0-9.]//g")"
1216

1317
# Find most recent roll of chromium INTO devtools-frontend standalone.
1418
# NOTE: this isn't exactly the same as when frontend was rolled into chromium. But.. it shouldn't make a huge difference for these purposes.. :)
15-
chromium_commit_position=$(curl "https://chromiumdash.appspot.com/fetch_releases?platform=Mac" --silent | jq --arg chrome_version "$chrome_version" '.[] | select(.version == $chrome_version).chromium_main_branch_position')
19+
chromium_commit_position=$(curl "https://chromiumdash.appspot.com/fetch_releases?platform=Linux,Mac" --silent | jq --arg chrome_version "$chrome_version" '.[] | select(.version == $chrome_version).chromium_main_branch_position')
1620

1721
# verify we have a real number
1822
re='^[0-9]+$'

0 commit comments

Comments
 (0)