Skip to content

Commit f403f47

Browse files
authored
Updated build scripts (domoticz#1848)
* add dzVents folder * add dzVents folder to makebeta/release
1 parent bf0f7fd commit f403f47

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

makebeta

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ MACH=`uname -m`
1919
archive_file="domoticz_${OS}_${MACH}.tgz"
2020
version_file="version_${OS}_${MACH}.h"
2121
history_file="history_${OS}_${MACH}.txt"
22-
22+
2323
# Make sure we are on latest commit
2424
echo "Updating to server revision..."
2525
git fetch --all
@@ -43,7 +43,7 @@ if [ $? -ne 0 ]
4343
then
4444
echo "Compilation failed!...";
4545
exit 1
46-
fi
46+
fi
4747
echo "Success, making beta...";
4848

4949
cp -f appversion.h ${version_file}
@@ -61,7 +61,7 @@ then
6161
rm ${archive_file}.sha256sum
6262
fi
6363

64-
tar -zcf ${archive_file} domoticz History.txt License.txt domoticz.sh server_cert.pem updatebeta updaterelease www/ scripts/ Config/ plugins/
64+
tar -zcf ${archive_file} domoticz History.txt License.txt domoticz.sh server_cert.pem updatebeta updaterelease www/ scripts/ Config/ plugins/ dzVents/
6565
if [ $? -ne 0 ]
6666
then
6767
echo "Error creating archive!...";
@@ -91,4 +91,4 @@ rm -f ${version_file}
9191
rm -f ${history_file}
9292

9393
echo "Done!...";
94-
exit 0;
94+
exit 0;

makerelease

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ MACH=`uname -m`
1919
archive_file="domoticz_${OS}_${MACH}.tgz"
2020
version_file="version_${OS}_${MACH}.h"
2121
history_file="history_${OS}_${MACH}.txt"
22-
22+
2323
# Make sure we are on latest commit
2424
echo "Updating to server revision..."
2525
git fetch --all
@@ -43,7 +43,7 @@ if [ $? -ne 0 ]
4343
then
4444
echo "Compilation failed!...";
4545
exit 1
46-
fi
46+
fi
4747
echo "Success, making beta...";
4848

4949
cp -f appversion.h ${version_file}
@@ -61,7 +61,7 @@ then
6161
rm ${archive_file}.sha256sum
6262
fi
6363

64-
tar -zcf ${archive_file} domoticz History.txt License.txt domoticz.sh server_cert.pem updatebeta updaterelease www/ scripts/ Config/ plugins/
64+
tar -zcf ${archive_file} domoticz History.txt License.txt domoticz.sh server_cert.pem updatebeta updaterelease www/ scripts/ Config/ plugins/ dzVents/
6565
if [ $? -ne 0 ]
6666
then
6767
echo "Error creating archive!...";
@@ -91,4 +91,4 @@ rm -f ${version_file}
9191
rm -f ${history_file}
9292

9393
echo "Done!...";
94-
exit 0;
94+
exit 0;

0 commit comments

Comments
 (0)