Skip to content

Commit 0ca75ea

Browse files
authored
[Infra] Add SPM debug info to issue template (#10139)
1 parent 2035655 commit 0ca75ea

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,26 @@ body:
112112
render: shell
113113
validations:
114114
required: false
115+
- type: textarea
116+
attributes:
117+
label: If using Swift Package Manager, the project's Package.resolved
118+
description: The `Package.resolved` can help us debug versioning issues.
119+
value: |
120+
<!--- Look below for instructions on how to share your Package.resolved. --->
121+
122+
<details>
123+
<summary>Expand <code>Package.resolved</code> snippet</summary>
124+
<br>
125+
126+
```json
127+
128+
Replace this line with the contents of your Package.resolved.
129+
130+
```
131+
132+
</details>
133+
validations:
134+
required: false
115135
- type: textarea
116136
attributes:
117137
label: If using CocoaPods, the project's Podfile.lock
@@ -124,11 +144,8 @@ body:
124144
<br>
125145
126146
```yml
127-
<!--- Paste the contents of your Podfile.lock *inside* this code block.
128-
This will be automatically formatted into code.
129-
--->
130-
131147
148+
Replace this line with the contents of your Podfile.lock!
132149
133150
```
134151

0 commit comments

Comments
 (0)