这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion scripts/lint-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ check_indentation() {
# - Or specify one of the CI skip tags
check_version_change() {
local base_commit commit_diff package="$1"
base_commit="$(git merge-base --fork-point origin/master)"
base_commit="$(git merge-base 'master@{upstream}' 'HEAD')"
commit_diff="$(git log --patch "${base_commit}.." -- "$package")"

# If the diff is empty there's no commit modifying that package on this branch, which is a PASS.
Expand Down