You've already forked M5Unit-THERMO
mirror of
https://github.com/m5stack/M5Unit-THERMO.git
synced 2026-05-20 11:34:28 -07:00
12 lines
343 B
Bash
Executable File
12 lines
343 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Please execute on repository root
|
|
|
|
## Get version from library.properties
|
|
## Get git rev of HEAD
|
|
LIB_VERSION="$(pcregrep -o1 "^\s*version\s*=\s*(\*|\d+(\.\d+){0,3}(\.\*)?)" library.properties)"
|
|
#echo ${DOXYGEN_PROJECT_NUMBER}
|
|
DOXYGEN_PROJECT_NUMBER="${LIB_VERSION} git rev:$(git rev-parse --short HEAD)" doxygen docs/Doxyfile
|
|
|
|
|