mirror of
https://github.com/itflow-org/itflow
synced 2026-03-05 05:14:51 +00:00
Fix " to ' on new variable. Sed is broken. Update Dockerfile to v1.2
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
FROM ubuntu:22.04
|
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.
|
# Set up ENVs that will be utilized in compose file.
|
||||||
ENV TZ Etc/UTC
|
ENV TZ Etc/UTC
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ include("database_version.php");
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
//fetch the latest code changes but don't apply them\
|
//fetch the latest code changes but don't apply them\
|
||||||
$repo_branch = "master";
|
$repo_branch = 'master';
|
||||||
exec("git fetch", $output, $result);
|
exec("git fetch", $output, $result);
|
||||||
$latest_version = exec("git rev-parse origin/$repo_branch");
|
$latest_version = exec("git rev-parse origin/$repo_branch");
|
||||||
$current_version = exec("git rev-parse HEAD");
|
$current_version = exec("git rev-parse HEAD");
|
||||||
|
|||||||
Reference in New Issue
Block a user