Skip to content

Commit 91806a9

Browse files
committed
Add quote in DOXYGEN_VERSION_NUMBER and revert config.doxyfile change
1 parent e8d9208 commit 91806a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ jobs:
219219
cd zip-check/${{ env.repository_compressed_name }}/"$REPO_NAME"
220220
221221
# find "PROJECT_NUMBER = <version_number>"
222-
export DOXYGEN_VERSION_NUMBER=$(grep -x "[ ]*PROJECT_NUMBER[ ]*=[ ]*[^ ]*[ ]*" docs/doxygen/config.doxyfile | awk -F= '{gsub(" ","",$2); print $2 }');
222+
DOXYGEN_VERSION_NUMBER=$(grep -x "[ ]*PROJECT_NUMBER[ ]*=[ ]*[^ ]*[ ]*" docs/doxygen/config.doxyfile | awk -F= '{gsub(" ","",$2); print $2 }');
223223
224224
# compare the <version_number> with input version number
225225
echo "Comparing $DOXYGEN_VERSION_NUMBER & $VERSION_NUMBER"
226-
[[ $DOXYGEN_VERSION_NUMBER == $VERSION_NUMBER ]] \
226+
[[ '$DOXYGEN_VERSION_NUMBER' == $VERSION_NUMBER ]] \
227227
&& echo "config.doxyfile : match $VERSION_NUMBER" \
228228
|| { echo "config.doxyfile : $DOXYGEN_VERSION_NUMBER doesn't match $VERSION_NUMBER"; exit 255; }
229229

docs/doxygen/config.doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PROJECT_NAME = coreMQTT
4848
# could be handy for archiving the generated documentation or if some version
4949
# control system is used.
5050

51-
PROJECT_NUMBER = v3.1.1
51+
PROJECT_NUMBER = v2.3.1+
5252

5353
# Using the PROJECT_BRIEF tag one can provide an optional one line description
5454
# for a project that appears at the top of each page and should give viewer a

0 commit comments

Comments
 (0)