Use 7 instead of 10 digits hash for the sake of convenience

This commit is contained in:
DL6ER
2016-12-09 23:41:17 +01:00
parent e93f33bcf0
commit 8bfab70e62
+2 -2
View File
@@ -12,7 +12,7 @@
// Use vDev if not on master
if($piholeBranch !== "master") {
$piholeVersion = "vDev";
$piholeCommit = exec("cd /etc/.pihole/ && git describe --long --dirty --abbrev=10 --tags");
$piholeCommit = exec("cd /etc/.pihole/ && git describe --long --dirty --tags");
}
else {
$piholeVersion = exec("cd /etc/.pihole/ && git describe --tags --abbrev=0");
@@ -20,7 +20,7 @@
if($webBranch !== "master") {
$webVersion = "vDev";
$webCommit = exec("git describe --long --dirty --abbrev=10 --tags");
$webCommit = exec("git describe --long --dirty --tags");
}
else {
$webVersion = exec("git describe --tags --abbrev=0");