Skip to content

Commit 5619cae

Browse files
committed
add version to the binary during build
1 parent 0b5af34 commit 5619cae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
uses: actions/checkout@v3
5656
with:
5757
path: ${{ env.IMGTOOL_PACKING_PATH }}
58+
59+
- name: Set the version
60+
working-directory: ${{ env.IMGTOOL_PACKING_PATH }}/patches/
61+
run: sed -i 's/1.8.0-arduino/${GITHUB_REF/refs\/tags\//}/' 0008-Imgtool-Append-arduino-to-version-string.patch
5862

5963
- name: Apply patches
6064
working-directory: ${{ env.MCUBOOT_PATH }}/scripts/

0 commit comments

Comments
 (0)