Selaa lähdekoodia

[Infra] Add SPM debug info to issue template (#10139)

Nick Cooke 3 vuotta sitten
vanhempi
sitoutus
0ca75eafac
1 muutettua tiedostoa jossa 21 lisäystä ja 4 poistoa
  1. 21 4
      .github/ISSUE_TEMPLATE/BUG_REPORT.yml

+ 21 - 4
.github/ISSUE_TEMPLATE/BUG_REPORT.yml

@@ -112,6 +112,26 @@ body:
       render: shell
     validations:
       required: false
+  - type: textarea
+    attributes:
+      label: If using Swift Package Manager, the project's Package.resolved
+      description: The `Package.resolved` can help us debug versioning issues.
+      value: |
+        <!--- Look below for instructions on how to share your Package.resolved. --->
+
+        <details>
+        <summary>Expand <code>Package.resolved</code> snippet</summary>
+        <br>
+
+        ```json
+
+        Replace this line with the contents of your Package.resolved.
+
+        ```
+
+        </details>
+    validations:
+      required: false
   - type: textarea
     attributes:
       label: If using CocoaPods, the project's Podfile.lock
@@ -124,11 +144,8 @@ body:
         <br>
 
         ```yml
-        <!--- Paste the contents of your Podfile.lock *inside* this code block.
-          This will be automatically formatted into code.
-        --->
-
 
+        Replace this line with the contents of your Podfile.lock!
 
         ```