[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[tool] Improve main-branch detection #7038

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typos
  • Loading branch information
stuartmorgan committed Jan 30, 2023
commit b714de4cd0fdd60c0742397403269aa979388902
2 changes: 1 addition & 1 deletion script/tool/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 0.13.4+1

* Makes `--packages-for-branch` detect any commin on `main` as being `main`,
* Makes `--packages-for-branch` detect any commit on `main` as being `main`,
so that it works with pinned checkouts (e.g., on LUCI).

## 0.13.4
Expand Down
2 changes: 1 addition & 1 deletion script/tool/lib/src/common/package_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ abstract class PackageCommand extends Command<void> {
return packages;
}

// Retruns true if the environment indicates that the current treeish is from
// Returns true if the environment indicates that the current treeish is from
// [branch].
//
// This is used because CI may check out a specific hash rather than a branch,
Expand Down