mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Update cmdeploy/src/cmdeploy/__init__.py
Co-authored-by: holger krekel <holger@merlinux.eu>
This commit is contained in:
@@ -761,7 +761,7 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None:
|
|||||||
git_hash = subprocess.check_output(["git", "rev-parse", "HEAD"]).decode()
|
git_hash = subprocess.check_output(["git", "rev-parse", "HEAD"]).decode()
|
||||||
git_diff = subprocess.check_output(["git", "diff"]).decode()
|
git_diff = subprocess.check_output(["git", "diff"]).decode()
|
||||||
files.put(
|
files.put(
|
||||||
name="Upload chatmail relay version",
|
name="Upload chatmail relay git commiit hash",
|
||||||
src=StringIO(git_hash + git_diff),
|
src=StringIO(git_hash + git_diff),
|
||||||
dest="/etc/chatmail-version",
|
dest="/etc/chatmail-version",
|
||||||
mode="700",
|
mode="700",
|
||||||
|
|||||||
Reference in New Issue
Block a user