File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 68
68
- cd script/tool
69
69
- dart pub run test
70
70
- 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
72
86
publish_check_script : ./script/tool_runner.sh publish-check
73
87
- name : format
74
88
format_script : ./script/tool_runner.sh format --fail-on-change
You can’t perform that action at this time.
0 commit comments