Skip to content
Success

Changes

Summary

  1. fix(scripts/artifacts): fix check-tiup.sh (#3023) (commit: 84aa655) (details)
Commit 84aa655aa86d1340d0806f758bd9d5632a7ff0d3 by noreply
fix(scripts/artifacts): fix check-tiup.sh (#3023)

### **User description**
Signed-off-by: wuhuizuo <wuhuizuo@126.com>


___

### **PR Type**
Bug fix


___

### **Description**
- Added a command to create `results.yaml` file if it does not exist in
`scripts/artifacts/check-tiup.sh`.
- This prevents potential errors when the script attempts to modify a
non-existent file.



___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>check-tiup.sh</strong><dd><code>Ensure `results.yaml`
file exists before modification</code>&nbsp; &nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>

scripts/artifacts/check-tiup.sh

<li>Added a command to create <code>results.yaml</code> file if it does
not exist.<br>


</details>


  </td>
<td><a
href="https://github.com/PingCAP-QE/ci/pull/3023/files#diff-83f2cad14e0bb5b9198ff6572612ce9402249949544b3abf6b6e50ae9a9c02bb">+1/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>                   
</table></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools
and their descriptions

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
(commit: 84aa655)
The file was modifiedscripts/artifacts/check-tiup.sh (diff)