Skip to content

Commit

Permalink
Add quotes to version info (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcomm committed Aug 23, 2023
1 parent 32cc54e commit 5ef4594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/make-hex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Write build info
run: >
echo '#define DMCOMM_BUILD_INFO
F("name = dmcomm-original\r\nversion = ${{ env.VERSION }}\r\nboard = ${{ matrix.label }}")'
F("name = \"dmcomm-original\"\r\nversion = \"${{ env.VERSION }}\"\r\nboard = \"${{ matrix.label }}\"")'
> dmcomm/dmcomm_build_info.h
- name: Compile sketch
uses: arduino/compile-sketches@v1
Expand Down
2 changes: 1 addition & 1 deletion dmcomm/dmcomm_build_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// This file is intended to be overwritten by the build CI.
// Does not have its own include guards, should be checked by includer.

#define DMCOMM_BUILD_INFO F("name = dmcomm-original")
#define DMCOMM_BUILD_INFO F("name = \"dmcomm-original\"")

0 comments on commit 5ef4594

Please sign in to comment.