Skip to content

Commit 40a343b

Browse files
Merge pull request #68 from fledge-iot/FOGL-7078
FOGL-7078 commit hash count added in C plugins as well with non-release builds
2 parents 194dfad + 1e270fc commit 40a343b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

plugins/make_deb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ EOF
244244
if [ -f requirements.sh ]; then
245245
./requirements.sh
246246
fi
247+
# version replaced in VERSION file
248+
echo ${version} > VERSION;
247249
mkdir -p build; cd build; cmake ..; make)
248250
mkdir -p "plugins/${plugin_type_install}/${plugin_install_dirname}"
249251
if [ -f "${GIT_ROOT}/extras_install.sh" ]; then

plugins/make_rpm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ EOF
253253
if [ -f requirements.sh ]; then
254254
./requirements.sh
255255
fi
256+
# version replaced in VERSION file
257+
echo ${version} > VERSION;
256258
if [ -f build.sh ]; then
257259
./build.sh
258260
else

0 commit comments

Comments
 (0)