Skip to content

Commit

Permalink
fix version for out
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicknick committed Jan 12, 2024
1 parent 7a8cfaa commit 8cab1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private function actualizeGitEnv(): bool
$pathToEnv = $this->getAbsolutePath(0, $this::ENV_GIT_FILE);
$appVersion = "echo 'APP_VERSION='$(git log -1 --format='%H') > $pathToEnv";
$comment = "echo \"COMMENT='\"$(git log -1 --format='%s')\"'\" >> $pathToEnv";
$command = "$appVersion && $comment";
$command = "cd {$this->getAbsolutePath(0)} && $appVersion && $comment";

return false !== $this->doCommand($command);
}
Expand Down

0 comments on commit 8cab1f9

Please sign in to comment.