File tree 2 files changed +9
-1
lines changed 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 55
55
uses : actions/checkout@v3
56
56
with :
57
57
path : ${{ env.IMGTOOL_PACKING_PATH }}
58
+
59
+ - name : Set the version
60
+ working-directory : ${{ env.IMGTOOL_PACKING_PATH }}/patches/
61
+ run : sed -i 's/ARDUINO_VERSION_PLACEHOLDER/${GITHUB_REF/refs\/tags\//}/' 0008-Imgtool-Append-arduino-to-version-string.patch
58
62
59
63
- name : Apply patches
60
64
working-directory : ${{ env.MCUBOOT_PATH }}/scripts/
@@ -134,6 +138,10 @@ jobs:
134
138
with :
135
139
path : ${{ env.IMGTOOL_PACKING_PATH }}
136
140
141
+ - name : Set the version
142
+ working-directory : ${{ env.IMGTOOL_PACKING_PATH }}/patches/
143
+ run : sed -i 's/ARDUINO_VERSION_PLACEHOLDER/${GITHUB_REF/refs\/tags\//}/' 0008-Imgtool-Append-arduino-to-version-string.patch
144
+
137
145
- name : Apply patches
138
146
working-directory : ${{ env.MCUBOOT_PATH }}/scripts/
139
147
run : git apply -v "${{ env.IMGTOOL_PACKING_PATH }}/patches/"*
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ index ca43b8d..20769a4 100644
16
16
# limitations under the License.
17
17
18
18
- imgtool_version = "1.8.0"
19
- + imgtool_version = "1.8.0-arduino "
19
+ + imgtool_version = "ARDUINO_VERSION_PLACEHOLDER "
20
20
- -
21
21
2.30.2
22
22
You can’t perform that action at this time.
0 commit comments