From 5ca70727689493e0fd5b3f591ea75948ea295898 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Tue, 24 Sep 2024 04:25:06 -0700 Subject: [PATCH] pipe text into awk --- .readthedocs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index cc4de271..c6477daf 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -25,10 +25,10 @@ build: mv doxygen-$DOXYGEN_VERSION/bin/doxygen ./ && cd .. - ls -a - - echo `awk -F "=" '/version/ {print $2}' library.properties` + - echo echo $(cat library.properties | awk -F "=" '/version/ {print $2}') # get lib version & overwrite Doxyfile values - > - RF24_VERSION=v$(awk -F "=" '/version/ {print $2}' library.properties) && + RF24_VERSION=vecho $(cat library.properties | awk -F "=" '/version/ {print $2}') && touch docs/doxygenAction && echo "PROJECT_NUMBER = $RF24_VERSION" >> docs/doxygenAction && echo -e "\n@INCLUDE = doxygenAction" >> docs/Doxyfile