This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 6868 - cd script/tool
6969 - dart pub run test
7070 - name : publishable
71- version_check_script : ./script/tool_runner.sh version-check
71+ env :
72+ CHANGE_DESC : " $TMPDIR/change-description.txt"
73+ version_check_script :
74+ # For pre-submit, pass the PR description to the script to allow for
75+ # platform version breaking version change justifications.
76+ # For post-submit, ignore platform version breaking version changes.
77+ # The PR description isn't reliably part of the commit message, so using
78+ # the same flags as for presubmit would likely result in false-positive
79+ # post-submit failures.
80+ - if [[ $CIRRUS_PR == "" ]]; then
81+ - ./script/tool_runner.sh version-check --ignore-platform-interface-breaks
82+ - else
83+ - echo "$CIRRUS_CHANGE_MESSAGE" > "$CHANGE_DESC"
84+ - ./script/tool_runner.sh version-check --change-description-file="$CHANGE_DESC"
85+ - fi
7286 publish_check_script : ./script/tool_runner.sh publish-check
7387 - name : format
7488 format_script : ./script/tool_runner.sh format --fail-on-change
You can’t perform that action at this time.
0 commit comments