From b805c0ac28b4d5cf292d48963988528acd24d1f1 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Tue, 24 Sep 2024 03:43:32 -0700 Subject: [PATCH] trouble reading lib properties --- .readthedocs.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7943f8c3..b2b2353b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -25,9 +25,10 @@ build: mv doxygen-$DOXYGEN_VERSION/bin/doxygen ./ && cd .. - ls -a + - echo $(awk -F "=" '/version/ {print $2}' library.properties) # get lib version & overwrite Doxyfile values - > - RF24_VERSION=v`awk -F "=" '/version/ {print $2}' library.properties` && + RF24_VERSION=v$(awk -F "=" '/version/ {print $2}' library.properties) && touch docs/doxygenAction && echo "PROJECT_NUMBER = $RF24_VERSION" >> docs/doxygenAction && echo -e "\n@INCLUDE = doxygenAction" >> docs/Doxyfile