Fix " to ' on new variable. Sed is broken. Update Dockerfile to v1.2

This commit is contained in:
Xander Luedtke 2023-01-04 18:56:12 -07:00
parent 0f3fdbec51
commit 8d4a2d8ef6
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
FROM ubuntu:22.04
LABEL dockerfile.version="v1.1" dockerfile.release-date="2023-01-03"
LABEL dockerfile.version="v1.2" dockerfile.release-date="2023-01-04"
# Set up ENVs that will be utilized in compose file.
ENV TZ Etc/UTC

View File

@ -6,7 +6,7 @@ include("database_version.php");
<?php
//fetch the latest code changes but don't apply them\
$repo_branch = "master";
$repo_branch = 'master';
exec("git fetch", $output, $result);
$latest_version = exec("git rev-parse origin/$repo_branch");
$current_version = exec("git rev-parse HEAD");