From 5ef4594a4ee2d3f082e9e4444f13fa938d13f2bc Mon Sep 17 00:00:00 2001 From: dmcomm <71192617+dmcomm@users.noreply.github.com> Date: Wed, 23 Aug 2023 03:45:28 +0100 Subject: [PATCH] Add quotes to version info (#2) --- .github/workflows/make-hex.yml | 2 +- dmcomm/dmcomm_build_info.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/make-hex.yml b/.github/workflows/make-hex.yml index 95e72fc..ae8a114 100644 --- a/.github/workflows/make-hex.yml +++ b/.github/workflows/make-hex.yml @@ -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 diff --git a/dmcomm/dmcomm_build_info.h b/dmcomm/dmcomm_build_info.h index 6ae8baf..51868e1 100644 --- a/dmcomm/dmcomm_build_info.h +++ b/dmcomm/dmcomm_build_info.h @@ -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\"")